{{- with resources.Get "scss/main.scss" -}} {{- $opts := dict "enableSourceMap" (not hugo.IsProduction) "outputStyle" (cond hugo.IsProduction "compressed" "expanded") "targetPath" "css/main.css" "transpiler" "dartsass" -}} {{- with . | toCSS $opts -}} {{- if hugo.IsProduction -}} {{- with . | fingerprint "sha512" -}} {{- end -}} {{- else -}} {{- end -}} {{- end -}} {{- end -}}