From 16cae0ddcb498cec851965b7d305d059b3f02fd9 Mon Sep 17 00:00:00 2001 From: Yuri Zamyatin Date: Wed, 4 Dec 2024 21:26:46 +0000 Subject: [PATCH] cache fixes --- layouts/_default/baseof.html | 4 ++-- layouts/_default/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 65f72a2..6bb809e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,12 +5,12 @@ {{ if not .IsHome }}{{ .LinkTitle | humanize }} - {{ end }}{{ .Site.Title }} - {{ $opts := dict "transpiler" "libsass" "targetPath" "_style._c.css" }} + {{ $opts := dict "transpiler" "libsass" "targetPath" "_style.css" }} {{ with resources.Get "css/index.scss" | toCSS $opts | minify | fingerprint }} {{ end }} {{ range resources.Match "favicon/*.png" }} - {{ with resources.Copy (printf "_favicon%d._c.png" .Width) . }} + {{ with resources.Copy (printf "_fav%d.png" .Width) . }} {{ end }} {{ end }} diff --git a/layouts/_default/index.html b/layouts/_default/index.html index 44d2b88..31bfba9 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -4,7 +4,7 @@
- {{ with resources.Get .Params.image | fingerprint }} + {{ with resources.Get .Params.image | resources.Copy (print "_profile" (path.Ext .Params.image)) | fingerprint }}