{{ if eq (hugo.Environment) "development" -}} {{ $options := (dict "targetPath" "css/style.css" "enableSourceMap" true "includePaths" (slice "node_modules")) -}} {{ $css := resources.Get "sass/main.scss" | toCSS $options -}} {{ else -}} {{ $options := (dict "targetPath" "css/style.css" "outputStyle" "compressed" "includePaths" (slice "node_modules")) -}} {{ $css := resources.Get "sass/main.scss" | toCSS $options -}} {{ $secureCSS := $css | resources.Fingerprint "sha512" -}} {{ end -}}