correct cache busting technique

This commit is contained in:
Amolith 2023-01-27 10:17:29 -05:00
parent 8016710fe6
commit d97176b3a3
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 }}?{{ .Now.Unix }}" as="style">
<link rel="stylesheet" href="{{ $style.RelPermalink }}?{{ .Now.Unix }}">
<link rel="preload" href="{{ $style.RelPermalink }}?{{ now.Unix }}" as="style">
<link rel="stylesheet" href="{{ $style.RelPermalink }}?{{ now.Unix }}">
{{ partialCached "favicons.html" . }}
</head>