From fc50818da3e858ce2e8600836e98e606b80d38f4 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Wed, 11 Oct 2023 22:23:07 -0700 Subject: [PATCH] Use absolute permalinks for images --- layouts/partials/paige/image.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/paige/image.html b/layouts/partials/paige/image.html index 881971f4..21a0d081 100644 --- a/layouts/partials/paige/image.html +++ b/layouts/partials/paige/image.html @@ -122,7 +122,7 @@ {{ $smallerresource = $smallerresource | fingerprint }} {{ $intrinsicheight = $smallerresource.Height }} {{ $intrinsicwidth = $smallerresource.Width }} - {{ $src = $smallerresource.RelPermalink }} + {{ $src = $smallerresource.Permalink }} {{ if and (not $sizes) (not $srcset) }} {{ $partialresource := "" }} @@ -224,7 +224,7 @@ {{ end }} {{ end }} {{ else }} - {{ $src = relLangURL $src }} + {{ $src = absLangURL $src }} {{ end }} {{ $content := partial "paige/img.html" (dict