{{- $mainCSS := resources.Get "css/index.css" | postCSS (dict "inlineImports" true) -}} {{- $bundle := slice $mainCSS | resources.Concat "css/bundle.css" -}} {{- if eq hugo.Environment "development" -}} {{- else -}} {{- with $bundle | minify | fingerprint -}} {{- end -}} {{- end -}}