{{- if and (not hugo.IsProduction) (eq hugo.Environment "theme") }} {{- $styles := resources.Get "css/styles.css" }} {{- $styles = $styles | resources.PostCSS (dict "inlineImports" true) }} {{- else }} {{- $styles := resources.Get "css/compiled/main.css" -}} {{- if hugo.IsProduction }} {{- $styles = $styles | minify | fingerprint }} {{- else }} {{- end }} {{- end }} {{- $custom := resources.Get "css/custom.css" }} {{- if hugo.IsProduction -}} {{- $custom = $custom | minify | fingerprint }} {{- else }} {{- end }}