{{ $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. */}} {{ $css := resources.Get $scssMain | toCSS (dict "enableSourceMap" true) }} {{ else }} {{ $css := resources.Get $scssMain | toCSS (dict "enableSourceMap" false) | postCSS | minify | fingerprint }} {{ end }} {{ if and (.Site.Params.offlineSearch) (not .Site.Params.gcs_engine_id) }} {{ end }} {{ if .Site.Params.algolia_docsearch }} {{ end }}