2023-08-20 19:47:39 +00:00
< title > {{ with .Title }}{{ . }} – {{end}}{{ .Site.Title }}< / title >
2024-07-03 15:59:27 +00:00
< meta name = "description" content = "{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" >
2024-07-03 15:57:28 +00:00
{{ with .Site.Params.Author.fedi }}< meta property = "fediverse:creator" content = "{{ . }}" / > {{ end }}
2023-08-20 19:47:39 +00:00
< 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 }}
2024-11-06 03:32:21 +00:00
<!-- webmentions via webmention.io -->
< link rel = "me authn" href = "mailto:{{ .Site.Params.webmentionEmail }}" >
< link rel = "webmention" href = "https://webmention.io/{{ (urls.Parse .Site.BaseURL).Host }}/webmention" >
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
2024-08-15 20:56:47 +00:00
<!-- load theme preference asap -->
< script >
(function() {
var savedTheme = localStorage.getItem('theme');
if (savedTheme) {
document.documentElement.setAttribute('data-theme', savedTheme);
} else if (window.matchMedia & & window.matchMedia('(prefers-color-scheme: light)').matches) {
document.documentElement.setAttribute('data-theme', 'light');
}
})();
< / script >
2024-08-16 21:18:35 +00:00
<!-- !Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc. -->
2024-08-15 20:36:13 +00:00
< link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity = "sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin = "anonymous" / >
2023-08-20 19:47:39 +00:00
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
<!-- 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-24 21:26:57 +00:00
<!-- CC BY - NC - SA 4.0 -->
< link rel = "license" href = "https://creativecommons.org/licenses/by-nc-sa/4.0/" >
2024-01-20 02:14:26 +00:00
{{ if eq .Site.Params.analytics true }}
2024-11-30 05:06:17 +00:00
<!-- bearlytics -->
2024-12-01 03:47:11 +00:00
< script data-site = "ZHFGHYJ" src = "https://bearlytics.runtimeterror.dev/script.js" async > < / 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 -->
2024-08-04 18:19:40 +00:00
< script src = "https://res.runtimeterror.dev/js/typo.js" defer > < / script >