diff --git a/layouts/partials/paige/func-resource.html b/layouts/partials/paige/func-resource.html index 9df47dd8..54422232 100644 --- a/layouts/partials/paige/func-resource.html +++ b/layouts/partials/paige/func-resource.html @@ -6,13 +6,13 @@ {{ with $page.Resources.GetMatch $url }} {{ $resource = . }} {{ else }} - {{ with $page.Resources.Get (relLangURL $url) }} + {{ with $page.Resources.Get $url }} {{ $resource = . }} {{ else }} {{ with resources.GetMatch $url }} {{ $resource = . }} {{ else }} - {{ with resources.Get (relLangURL $url) }} + {{ with resources.Get $url }} {{ $resource = . }} {{ else }} {{ with resources.GetRemote $url }} diff --git a/layouts/partials/paige/img.html b/layouts/partials/paige/img.html index affd1bff..cd2476a7 100644 --- a/layouts/partials/paige/img.html +++ b/layouts/partials/paige/img.html @@ -27,7 +27,7 @@ {{ if not $resource }} {{ $resource = partial "paige/func-resource.html" (dict "page" $page - "url" (relLangURL $src) + "url" $src ) }} {{ end }}