Weghalen integrity-waarde na diverse testen tbv CSP
This commit is contained in:
parent
1573086c48
commit
8ce42eeebb
|
@ -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>
|
||||
<style>{{ $styles.Content | safeCSS }}</style>
|
||||
|
||||
|
||||
{{/*
|
||||
|
|
Reference in a new issue