try to implement cache busting

This commit is contained in:
Amolith 2023-01-27 10:09:28 -05:00
parent 5dd1d1759b
commit 8016710fe6
Signed by: Amolith
GPG Key ID: 8AE30347CE28D101
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@
{{ $options := (dict "outputStyle" "compressed" "enableSourceMap" true) }}
{{ $scss := resources.Get "scss/imports.scss" }}
{{ $style := $scss | resources.ToCSS $options }}
<link rel="preload" href="{{ $style.RelPermalink }}" as="style">
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
<link rel="preload" href="{{ $style.RelPermalink }}?{{ .Now.Unix }}" as="style">
<link rel="stylesheet" href="{{ $style.RelPermalink }}?{{ .Now.Unix }}">
{{ partialCached "favicons.html" . }}
</head>