Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Harkenrider <824186+NateHark@users.noreply.github.com>2021-12-29 01:28:33 +0300
committerGitHub <noreply@github.com>2021-12-29 01:28:33 +0300
commitdde6a10cabb21ccdb707e90e7c0a9938a118aaa7 (patch)
tree59020a130508283a9266db78b3b4c201b3c889de /layouts
parenta669b60cdd22b6ed29b6acd766389f11d8e57911 (diff)
feat: implement cache busting for CSS (#444)
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head/style.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head/style.html b/layouts/partials/head/style.html
index 431e212..ee6b017 100644
--- a/layouts/partials/head/style.html
+++ b/layouts/partials/head/style.html
@@ -1,3 +1,3 @@
{{ $sass := resources.Get "scss/style.scss" }}
-{{ $style := $sass | resources.ToCSS | minify }}
+{{ $style := $sass | resources.ToCSS | minify | resources.Fingerprint "sha256" }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}"> \ No newline at end of file