Opsplitsen van style in head, zodat deze gecached kan worden
This commit is contained in:
parent
7e48f8e418
commit
4342d322e0
3 changed files with 5 additions and 3 deletions
3
themes/nluug/layouts/partials/style.html
Normal file
3
themes/nluug/layouts/partials/style.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{ $styles := resources.Get "scss/styles.scss" | toCSS (dict "outputStyle" "compressed") | minify }}
|
||||
{{ $styles_extra := resources.Get "scss/_extra.scss" | toCSS (dict "outputStyle" "compressed") | minify }}
|
||||
<style>{{ $styles.Content | safeCSS }} {{ $styles_extra.Content | safeCSS }}</style>
|
Loading…
Add table
Add a link
Reference in a new issue