From 69e3405ab2f8e4b76ddeb33fd7fd2089af2480f3 Mon Sep 17 00:00:00 2001 From: Tixie Date: Tue, 3 Dec 2019 22:21:38 +0100 Subject: [PATCH] add subresource integrity for the CSS --- layouts/_default/baseof.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c5d553d..6f51e8d 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -37,7 +37,8 @@ {{ $sass := resources.Get "/scss/style.scss" }} {{ $style := $sass | resources.ToCSS | minify | fingerprint }} - + {{ $secureStyle := $style | resources.Fingerprint "sha512" }} + @@ -51,7 +52,7 @@