diff options
author | Nathan Harkenrider <824186+NateHark@users.noreply.github.com> | 2021-12-29 01:28:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-29 01:28:33 +0300 |
commit | dde6a10cabb21ccdb707e90e7c0a9938a118aaa7 (patch) | |
tree | 59020a130508283a9266db78b3b4c201b3c889de | |
parent | a669b60cdd22b6ed29b6acd766389f11d8e57911 (diff) |
feat: implement cache busting for CSS (#444)
-rw-r--r-- | layouts/partials/head/style.html | 2 |
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 |