{{- partial "favicon.html" . -}}
{{- block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{- end }}
{{- partial "seo_tags.html" . -}}
{{ with .OutputFormats.Get "rss" -}} {{ printf `
` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{- /* CSS stylesheet */}} {{- $stylesheet := (resources.Get "css/style.css") | resources.Minify }} {{- if not site.Params.assets.disableFingerprinting }} {{- $stylesheet := $stylesheet | fingerprint }}
{{ else }}
{{ end }} {{- partial "custom_head.html" . -}} {{- /* Darkmode Javascript */}} {{- $darkmode_script := (resources.Get "js/darkmode.js") }} {{- $darkmode_load_script := (resources.Get "js/darkmode_load.js") }} {{- $darkmode_combined := slice $darkmode_script $darkmode_load_script | resources.Concat "js/darkmode.js" | resources.Minify }} {{- if not site.Params.assets.disableFingerprinting }} {{- $darkmode_combined := $darkmode_combined | fingerprint }} {{ else }} {{ end }}
{{- partial "header.html" . -}}
{{- block "main" . }}{{- end }}
{{- partial "custom_body.html" . -}} {{- /* Onclick Javascript */}} {{- $darkmode_onclick := (resources.Get "js/darkmode_click.js") | resources.Minify }} {{- if not site.Params.assets.disableFingerprinting }} {{- $darkmode_onclick := $darkmode_onclick | fingerprint }} {{ else }} {{ end }}