pdf-editor/layouts/partials/styles.html

6 lines
264 B
HTML

{{ $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 }}">