{{ range .Site.Params.customCSS }} {{ if hugo.IsServer }} {{ $styles := resources.Get . }} {{ else }} {{ $styles := resources.Get . | minify | fingerprint }} {{ end }} {{ end }} {{ range .Site.Params.customSCSS }} {{/* We don't change the targetPath to because it's transparent to users */}} {{ if hugo.IsServer }} {{ $cssOpts := (dict "enableSourceMap" true ) }} {{ $styles := resources.Get . | toCSS $cssOpts }} {{ else }} {{ $styles := resources.Get . | toCSS | minify | fingerprint }} {{ end }} {{ end }}