{{ $scssMain := "scss/main.scss" }} {{ if .Site.IsServer }} {{/* Note the missing postCSS. This makes it snappier to develop in Chrome, but makes it look sub-optimal in other browsers. */}} {{ $cssMain := resources.Get $scssMain | toCSS (dict "enableSourceMap" true) }} {{ else }} {{ $cssMain := resources.Get $scssMain | toCSS (dict "enableSourceMap" false) | postCSS | minify | fingerprint }} {{ end }}