{{ hugo.Generator }} {{ template "_internal/opengraph.html" . }} {{ $cond := "" }} {{ if .IsHome }} {{ with .Site.Params.description }} {{ $cond = . | plainify }} {{ end }} {{ else }} {{ $cond = trim (.Summary | plainify | htmlUnescape) "\n\r" | default .Title }} {{ end }} {{ $cssOpts := (dict "targetPath" "css/styles.css" "enableSourceMap" hugo.IsServer ) }} {{ $styles := resources.Get "scss/template-styles.scss" | resources.ExecuteAsTemplate "style.styles.css" . | toCSS $cssOpts }} {{ if hugo.IsServer }} {{ else }} {{ $minifiedStyles := $styles | minify | fingerprint }} {{ end }} {{ partial "noscript.html" . }}