2023-08-20 19:47:39 +00:00
|
|
|
<title>{{ with .Title }}{{ . }} – {{end}}{{ .Site.Title }}</title>
|
|
|
|
{{ with .Site.Params.about }}<meta name="description" content="{{ .description }}">{{ end }}
|
|
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta charset="UTF-8"/>
|
2023-08-22 19:10:38 +00:00
|
|
|
{{ if or (.Site.Params.noindex) (.Params.noindex) }}<meta name="robots" content="noindex" /> {{ end }}
|
2023-08-20 19:47:39 +00:00
|
|
|
|
|
|
|
{{ partialCached "favicon" . }}
|
2023-08-21 21:11:42 +00:00
|
|
|
{{ partial "opengraph" . }}
|
2023-08-20 19:47:39 +00:00
|
|
|
|
|
|
|
<!-- FontAwesome <https://fontawesome.com/> -->
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" />
|
|
|
|
|
|
|
|
<!-- Academicons <https://jpswalsh.github.io/academicons/> -->
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" />
|
|
|
|
|
|
|
|
<!-- risotto theme -->
|
|
|
|
<link rel="stylesheet" href="{{ printf "css/palettes/%s.css" (.Site.Params.theme.palette | default "base16-dark") | absURL }}">
|
|
|
|
<link rel="stylesheet" href="{{ "css/risotto.css" | absURL }}">
|
|
|
|
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}">
|
2023-08-24 17:58:55 +00:00
|
|
|
|
|
|
|
<!-- cabin analytics -->
|
|
|
|
<script async defer src="https://scripts.withcabin.com/hello.js"></script>
|
2023-10-21 21:13:44 +00:00
|
|
|
|
|
|
|
{{ if (findRE "<pre" .Content 1) }}
|
2023-11-04 04:08:45 +00:00
|
|
|
{{ $syntax := resources.Get "css/torchlight.css" | minify }}
|
2023-10-21 21:13:44 +00:00
|
|
|
<link href="{{ $syntax.RelPermalink }}" rel="stylesheet">
|
2023-11-05 01:49:39 +00:00
|
|
|
{{ $copyCss := resources.Get "css/code-copy-button.css" | minify }}
|
|
|
|
<link href="{{ $copyCss.RelPermalink }}" rel="stylesheet">
|
2023-10-21 21:13:44 +00:00
|
|
|
{{ end }}
|