{{- $styles := resources.Get "scss/core.scss" -}} {{- if hugo.IsProduction -}} {{- $tocss_opts := dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" true -}} {{- $styles = $styles | resources.ToCSS $tocss_opts | resources.Minify | resources.Fingerprint "sha512" -}} {{- else -}} {{- $tocss_opts := dict "targetPath" "style.css" "enableSourceMap" true -}} {{- $styles = $styles | resources.ToCSS $tocss_opts -}} {{- end -}} {{/* Prism.js style */}} {{ if or (and (findRE "
{{ end }}