Compare commits

...

3 commits

Author SHA1 Message Date
Fahim Ahmad
fbcf8bec9a
Merge ae0864f571 into 71de892c1c 2024-12-25 21:56:46 +09:00
crnh
71de892c1c
feat(blox-tailwind): fingerprint dist/wc.min.css (#3180) 2024-12-23 20:17:30 +00:00
Fahim Ahmad
ae0864f571
Update render-link.backlinks.json
closed the unclosed action
2024-12-14 15:16:25 +01:00
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
"date" ($.Page.Date.UTC.Format "2006-01-02T15:04:05-07:00")
"linkTitle" $.Page.LinkTitle
"relPermalink" $.Page.RelPermalink
}}
-}}
{{- $backlink := dict "page" $page "links_to" .RelPermalink }}
{{- site.Home.Store.Add "backlinks" (slice $backlink) }}
{{- end }}

View file

@ -57,7 +57,7 @@
{{/* Style */}}
{{ 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" />
{{ else }}
{{ $options := dict "inlineImports" true }}