{{ 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" }} {{ $hash := now.Unix }} {{ $options := (dict "targetPath" (printf `minima.%d.css` $hash) "outputStyle" "compressed" "enableSourceMap" true) }} {{ $style := resources.Get "css/main.scss" | resources.ToCSS $options }} {{ $options = (dict "targetPath" (printf `minima.%d.js` $hash) "minify" true) }} {{ $js := resources.Get "js/main.js" | js.Build $options | resources.ExecuteAsTemplate (printf `minima.%d.js` $hash) . }} {{ if .IsTranslated }} {{ range .Translations }} {{ end }} {{ end }}