init project
This commit is contained in:
5
layouts/partials/styles.html
Normal file
5
layouts/partials/styles.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{ $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 }}">
|
Reference in New Issue
Block a user