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
|
|
|
|
2023-12-22 22:19:48 +00:00
|
|
|
<!-- RSS -->
|
2023-12-22 22:04:21 +00:00
|
|
|
{{ with .OutputFormats.Get "rss" -}}
|
|
|
|
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
|
|
|
|
{{ end }}
|
|
|
|
|
2023-12-22 22:19:48 +00:00
|
|
|
<!-- verification links -->
|
|
|
|
{{ if .IsHome }}
|
|
|
|
{{ range $item := .Site.Params.verifyLinks }}
|
|
|
|
<link rel="me" title="{{ $item.title }}" href="{{ $item.url }}">
|
|
|
|
{{ end }}
|
|
|
|
{{ 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" />
|
|
|
|
|
2023-12-21 14:21:01 +00:00
|
|
|
<!-- ForkAwesome <https://forkaweso.me/> -->
|
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous">
|
|
|
|
|
2023-08-20 19:47:39 +00:00
|
|
|
<!-- 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
|
|
|
|
2024-06-07 15:18:50 +00:00
|
|
|
<!-- add pride bar for june -->
|
2024-06-07 14:45:04 +00:00
|
|
|
<link rel="stylesheet" href="https://cdn.pride.codes/css/bar_body.css">
|
|
|
|
|
2024-01-20 02:14:26 +00:00
|
|
|
{{ if eq .Site.Params.analytics true }}
|
2024-06-18 16:15:31 +00:00
|
|
|
<!-- cabin analytics -->
|
|
|
|
<script async defer src="https://scripts.withcabin.com/hello.js"></script>
|
2023-11-10 19:24:40 +00:00
|
|
|
{{ end }}
|
2023-10-21 21:13:44 +00:00
|
|
|
|
2023-11-09 04:14:10 +00:00
|
|
|
<!-- syntax highlighting -->
|
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 }}
|
2024-06-13 16:02:50 +00:00
|
|
|
|
|
|
|
<!-- typo text animation -->
|
|
|
|
{{ $jsTypo := resources.Get "js/typo.js" | minify }}
|
|
|
|
<script src="{{ $jsTypo.RelPermalink }}"></script>
|