{{ with .Site.Params.description }}{{ end }} {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} {{ .Scratch.Set "colortheme" "white"}} {{ if .Site.Params.Colortheme }} {{ .Scratch.Set "colortheme" .Site.Params.Colortheme }} {{ end }} {{ $colortheme := .Scratch.Get "colortheme" }} {{- $options := (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") -}} {{- $styles := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "scss/style.scss" . | resources.ToCSS $options | resources.Fingerprint "sha512" }} {{ range .Site.Params.css }} {{ end }} {{ ` ` | safeHTML }} {{ partial "favicon.html" . }} {{ if .Site.Params.rss }} {{ with .OutputFormats.Get "RSS" }} {{ printf `` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} {{ end }} {{ end }} {{ if .Site.GoogleAnalytics }} {{ if .Site.Params.googleAnalyticsAsync }} {{ template "_internal/google_analytics_async.html" . }} {{ else }} {{ template "_internal/google_analytics.html" . }} {{ end }} {{ end }}