{{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" .Site.Params.enableSourceMaps) }} {{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "main.scss" . | css.Sass $options }} {{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }} {{ if hugo.IsDevelopment }} {{ else }} {{ with $style | minify | fingerprint }} {{ end }} {{ end }} {{- partial "head/custom.html" . -}} {{- template "_internal/twitter_cards.html" . -}}