{{- with resources.Get "css/main.css" }}
{{- if eq hugo.Environment "development" }}
{{- else }}
{{- with . | minify | fingerprint }}
{{- end }}
{{- end }}
{{- end }}
{{- $theme := .Site.Params.theme }}
{{- if and $theme (ne $theme "default") }}
{{- with resources.Get (printf "css/%s.css" $theme) }}
{{- if eq hugo.Environment "development" }}
{{- else }}
{{- with . | minify | fingerprint }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}