|
{{ $css := resources.Get "styles/main.scss" | toCSS | postCSS }}
|
|
{{ if hugo.IsProduction }}
|
|
{{ $css = $css | minify | fingerprint | resources.PostProcess }}
|
|
{{ end }}
|
|
<link data-production="{{ hugo.IsProduction }}" rel="stylesheet" href="{{ $css.RelPermalink }}">
|