213775dd |
1 | <head> |
2 | <meta charset="utf-8"> |
3 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
cb4379e1 |
4 | <meta name="color-scheme" content="light dark"> |
213775dd |
5 | <link rel="profile" href="https://gmpg.org/xfn/11"> |
a3fbbedb |
6 | |
cb4379e1 |
7 | |
0605a97a |
8 | {{ $style_options := (dict "targetPath" "css/style.css" "outputStyle" "compressed" "transpiler" "dartsass" "enableSourceMap" (not hugo.IsProduction)) }} |
9 | {{ $style := resources.Get "sass/main.scss" | resources.ToCSS $style_options }} |
a3fbbedb |
10 | |
f945c30b |
11 | {{ $noscript_options := (dict "targetPath" "css/noscript.css" "outputStyle" "compressed" "transpiler" "dartsass" "enableSourceMap" (not hugo.IsProduction)) }} |
12 | {{ $noscript := resources.Get "sass/noscript.scss" | resources.ToCSS $noscript_options }} |
13 | |
0605a97a |
14 | <link rel="stylesheet" href="{{ $style.RelPermalink }}"> |
82a7af14 |
15 | <link rel="stylesheet" href="{{ "css/syntax.css" |relURL }}"> |
8158405e |
16 | <noscript><link rel="stylesheet" href="{{ $noscript.RelPermalink }}" ></noscript> |
213775dd |
17 | {{ partial "funcs/favicon.html" . }} |
18 | <link rel="canonical" href="{{ .Permalink }}"> |
19 | |
20 | {{ with .OutputFormats.Get "rss" -}} |
21 | {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} |
22 | {{ end -}} |
23 | |
26ee5f4d |
24 | {{ $title := print .Site.Title " ⁃ " .Title | safeHTML }} |
213775dd |
25 | {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} |
26 | <title>{{ $title }}</title> |
27 | |
28 | {{ template "_internal/opengraph.html" . }} |
29 | {{ template "_internal/schema.html" . }} |
30 | {{ template "_internal/twitter_cards.html" . }} |
31 | |
32 | {{- partial "head-addition.html" . -}} |
33 | |
34 | </head> |