From c90af137f59d6178b65dac2b7d0258896d8760bd Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Tue, 4 May 2021 23:15:46 +0200 Subject: [PATCH] Add fingerprinting and integrity to CSS (cache busting) --- themes/datacoop2020/layouts/partials/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/datacoop2020/layouts/partials/head.html b/themes/datacoop2020/layouts/partials/head.html index 3718c3e..f3f4f60 100644 --- a/themes/datacoop2020/layouts/partials/head.html +++ b/themes/datacoop2020/layouts/partials/head.html @@ -16,8 +16,8 @@ - {{ $style := resources.Get "static/css/style.scss" | resources.ToCSS | resources.Minify }} - + {{ $style := resources.Get "static/css/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }} + {{ if .IsHome }} {{ $homepage := "Home" }}