From 2fe3576cdfe01b0114d21eeded51401e770543b1 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 2 Mar 2025 23:14:17 -0800 Subject: [PATCH] Always pass link href through relLangURL --- layouts/partials/paige/tag-link.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/layouts/partials/paige/tag-link.html b/layouts/partials/paige/tag-link.html index e38d69a4..f878a8a6 100644 --- a/layouts/partials/paige/tag-link.html +++ b/layouts/partials/paige/tag-link.html @@ -2,7 +2,7 @@ {{ $context := $params.context }} {{ $enablesourcemap := not hugo.IsProduction }} -{{ $href := $params.href }} +{{ $href := relLangURL $params.href }} {{ $integrity := $params.integrity }} {{ $origin := $params.crossorigin | default "anonymous" }} {{ $outputstyle := cond hugo.IsProduction "compressed" "" }} @@ -35,8 +35,6 @@ {{ $href = $resource.RelPermalink }} {{ $integrity = $resource.Data.Integrity }} -{{ else }} - {{ $href = relLangURL $href }} {{ end }}