Fingerprint dist/wc.min.css

This commit is contained in:
crnh 2024-12-20 10:51:02 +01:00 committed by GitHub
commit 3604bb1d14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,7 +57,7 @@
{{/* Style */}} {{/* Style */}}
{{ if ne (os.Getenv "HUGO_BLOX_POSTCSS") "true" }} {{ if ne (os.Getenv "HUGO_BLOX_POSTCSS") "true" }}
{{ $styles := resources.Get "dist/wc.min.css" }} {{ $styles := resources.Get "dist/wc.min.css" | fingerprint "sha256" }}
<link href="{{ $styles.RelPermalink }}" rel="stylesheet" /> <link href="{{ $styles.RelPermalink }}" rel="stylesheet" />
{{ else }} {{ else }}
{{ $options := dict "inlineImports" true }} {{ $options := dict "inlineImports" true }}