{{- /* TODO: more precise type detection */}} {{- $itemtype := "https://schema.org/WebPage"}} {{- if isset .Params "date" }} {{- $itemtype = "https://schema.org/Article"}} {{- end }} {{/* TODO: make this configurable? */}} {{ "" | safeHTML }} {{- $screen := resources.Get "styles/screen.scss" | toCSS | minify | fingerprint }} {{- $print := resources.Get "styles/print.scss" | toCSS | minify | fingerprint }} {{- $script := resources.Get "scripts/main.js" | js.Build "script.js" | minify | fingerprint }} {{- partial "seo.html" . }} {{- "" | safeHTML }} {{ partial "styles/external-links.html" . }} {{- block "head" . }} {{- end }} {{- block "body" . }} {{- end -}}