2023-07-19 22:11:34 +01:00
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8" />
|
2023-08-09 22:57:43 +01:00
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2023-08-12 19:53:14 +01:00
|
|
|
|
{{ if hugo.IsProduction -}}
|
|
|
|
|
<meta name="robots" content="index, follow" />
|
|
|
|
|
{{ else -}}
|
|
|
|
|
<meta name="robots" content="noindex, nofollow" />
|
|
|
|
|
{{ end -}}
|
2023-08-09 22:57:43 +01:00
|
|
|
|
{{ partialCached "favicons.html" . }}
|
2023-07-19 22:11:34 +01:00
|
|
|
|
<title>
|
2023-08-09 22:57:43 +01:00
|
|
|
|
{{- if .IsHome -}}
|
|
|
|
|
{{ .Site.Title -}}
|
|
|
|
|
{{ else -}}
|
|
|
|
|
{{ with .Title }}{{ . }} – {{ end -}}
|
|
|
|
|
{{ .Site.Title -}}
|
|
|
|
|
{{ end -}}
|
2023-07-19 22:11:34 +01:00
|
|
|
|
</title>
|
2023-08-09 22:57:43 +01:00
|
|
|
|
<meta name="description" content="{{ partial "utils/page-description.html" . }}" />
|
|
|
|
|
{{ partial "opengraph.html" . }}
|
2023-08-12 19:53:14 +01:00
|
|
|
|
{{ template "_internal/schema.html" . -}}
|
2023-08-20 19:25:12 +01:00
|
|
|
|
{{ template "_internal/twitter_cards.html" . -}}
|
|
|
|
|
{{ partialCached "head-css.html" . }}
|
2023-07-30 21:50:41 +01:00
|
|
|
|
<script>
|
|
|
|
|
/* Initialize light/dark mode */
|
|
|
|
|
if (localStorage.getItem("color-theme") === "dark" || (!("color-theme" in localStorage) && window.matchMedia("(prefers-color-scheme: dark)").matches)) {
|
|
|
|
|
document.documentElement.classList.add("dark");
|
2023-09-13 19:01:38 -04:00
|
|
|
|
document.documentElement.style.colorScheme = "dark";
|
2023-07-30 21:50:41 +01:00
|
|
|
|
} else {
|
|
|
|
|
document.documentElement.classList.remove("dark");
|
2023-09-13 19:01:38 -04:00
|
|
|
|
document.documentElement.style.colorScheme = "light";
|
2023-07-30 21:50:41 +01:00
|
|
|
|
}
|
|
|
|
|
</script>
|
2023-08-09 22:57:43 +01:00
|
|
|
|
|
|
|
|
|
{{ partial "custom/head-end.html" . }}
|
2023-07-19 22:11:34 +01:00
|
|
|
|
</head>
|