integrity toch weer toegevoegd ivm CSP-header
This commit is contained in:
parent
7d63947cdf
commit
3010fb699a
|
@ -1,6 +1,6 @@
|
||||||
{{/* Zoek alle scss-bestanden, combineer ze, zet om naar CSS, verkleinen en voorzien van fingerprint */}}
|
{{/* Zoek alle scss-bestanden, combineer ze, zet om naar CSS, verkleinen en voorzien van fingerprint */}}
|
||||||
{{ $styles := resources.Match "scss/**.scss" | resources.Concat "combined.scss" | toCSS (dict "outputStyle" "compressed") | minify }}
|
{{ $styles := resources.Match "scss/**.scss" | resources.Concat "combined.scss" | toCSS (dict "outputStyle" "compressed") | minify | fingerprint }}
|
||||||
<style>{{ $styles.Content | safeCSS }}</style>
|
<style integrity="{{ $styles.Data.Integrity }}">{{ $styles.Content | safeCSS }}</style>
|
||||||
|
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
|
|
Reference in a new issue