initialisation du site
This commit is contained in:
9
layouts/partials/styles.html
Normal file
9
layouts/partials/styles.html
Normal file
@ -0,0 +1,9 @@
|
||||
{{ $style := resources.Get "styles/main.scss" }}
|
||||
{{ with $style }}
|
||||
{{ $styleCSS := . | toCSS }}
|
||||
{{ if not $.Site.Params.debug }}
|
||||
{{ $styleCSS = $styleCSS | minify }}
|
||||
{{ end }}
|
||||
{{ $styleCSS = $styleCSS | fingerprint }}
|
||||
<link rel="stylesheet" href="{{ $styleCSS.Permalink }}" integrity="{{ $styleCSS.Data.Integrity }}">
|
||||
{{ end }}
|
Reference in New Issue
Block a user