6
0
Fork 0

integrity toch weer toegevoegd ivm CSP-header

This commit is contained in:
Michael Boelen 2023-06-01 15:55:16 +02:00
parent 7d63947cdf
commit 3010fb699a

View file

@ -1,6 +1,6 @@
{{/* 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 }}
<style>{{ $styles.Content | safeCSS }}</style>
{{ $styles := resources.Match "scss/**.scss" | resources.Concat "combined.scss" | toCSS (dict "outputStyle" "compressed") | minify | fingerprint }}
<style integrity="{{ $styles.Data.Integrity }}">{{ $styles.Content | safeCSS }}</style>
{{/*