From be578407421b686b9a6f7ef36d653a73fa6ffbe5 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 17 Feb 2023 21:13:28 -0800 Subject: [PATCH] Remove relLangURL from link, script --- layouts/partials/paige/link.html | 2 +- layouts/partials/paige/script.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/paige/link.html b/layouts/partials/paige/link.html index 58060ba2..21ea81cc 100644 --- a/layouts/partials/paige/link.html +++ b/layouts/partials/paige/link.html @@ -2,7 +2,7 @@ {{ $crossorigin := $params.crossorigin | default "anonymous" }} {{ $enablesourcemap := not hugo.IsProduction }} -{{ $href := relLangURL $params.href }} +{{ $href := $params.href }} {{ $includepaths := $params.includepaths }} {{ $integrity := $params.integrity }} {{ $outputstyle := cond hugo.IsProduction "compressed" "" }} diff --git a/layouts/partials/paige/script.html b/layouts/partials/paige/script.html index 600dc8c2..8995dc55 100644 --- a/layouts/partials/paige/script.html +++ b/layouts/partials/paige/script.html @@ -10,11 +10,11 @@ {{ $src := $params.src }} {{ if $raw }} - {{ $src = relLangURL $src }} + {{ $src = $src }} {{ else }} {{ $resource := (partial "paige/func-resource.html" (dict "page" $page - "url" (relLangURL $src) + "url" $src )) | minify | fingerprint }} {{ $integrity = $resource.Data.Integrity }}