6
0
Fork 0

Fix: integrity op style-tag heeft geen nut, weggehaald

This commit is contained in:
Michael Boelen 2023-05-21 15:50:55 +02:00
parent a6e49d31ce
commit 7ec53dcda4

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