mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-03-20 23:45:54 +01:00
feat: implement cache busting for CSS (#444)
This commit is contained in:
parent
a669b60cdd
commit
dde6a10cab
1 changed files with 1 additions and 1 deletions
|
@ -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 }}">
|
Loading…
Add table
Reference in a new issue