{{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} {{ template "_internal/google_analytics.html" . }} {{ if .IsHome }} {{ .Site.Title }} {{ if .Site.Params.subtitle }} - {{ .Site.Params.subtitle }} {{ end }} {{ else }} {{ .Site.Title }} - {{ .Title }} {{ end }} {{ $favicon := "favicon.ico" }} {{ $options := (dict "targetPath" "minima.css" "outputStyle" "compressed" "enableSourceMap" true) }} {{ $style := resources.Get "css/main.scss" | resources.ExecuteAsTemplate "main.scss" . | resources.ToCSS $options }} {{ $options = (dict "targetPath" "minima.js" "minify" true) }} {{ $js := resources.Get "js/main.js" | js.Build $options | resources.ExecuteAsTemplate "minima.js" . }} {{ if .IsTranslated }} {{ range .Translations }} {{ end }} {{ end }} {{ if eq .Site.Params.analytics.provider "umami" }} {{ with .Site.Params.analytics.umami }} {{ end }} {{ end }}