From f51197145f943f47aab712dddaf25fb1aee0bf38 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Wed, 22 Feb 2023 23:15:23 -0800 Subject: [PATCH] Rename func-resource.html to resource.html --- layouts/partials/paige/img.html | 2 +- layouts/partials/paige/link.html | 2 +- layouts/partials/paige/{func-resource.html => resource.html} | 0 layouts/partials/paige/script.html | 2 +- layouts/shortcodes/paige/gallery.html | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename layouts/partials/paige/{func-resource.html => resource.html} (100%) diff --git a/layouts/partials/paige/img.html b/layouts/partials/paige/img.html index acd73a38..0066ecaf 100644 --- a/layouts/partials/paige/img.html +++ b/layouts/partials/paige/img.html @@ -27,7 +27,7 @@ {{ $src = relLangURL $src }} {{ else }} {{ if not $resource }} - {{ $resource = partial "paige/func-resource.html" (dict + {{ $resource = partial "paige/resource.html" (dict "page" $page "url" $src ) }} diff --git a/layouts/partials/paige/link.html b/layouts/partials/paige/link.html index 21ea81cc..036c502d 100644 --- a/layouts/partials/paige/link.html +++ b/layouts/partials/paige/link.html @@ -12,7 +12,7 @@ {{ $sass := $params.sass }} {{ if not $raw }} - {{ $resource := partial "paige/func-resource.html" (dict + {{ $resource := partial "paige/resource.html" (dict "page" $page "url" $href ) }} diff --git a/layouts/partials/paige/func-resource.html b/layouts/partials/paige/resource.html similarity index 100% rename from layouts/partials/paige/func-resource.html rename to layouts/partials/paige/resource.html diff --git a/layouts/partials/paige/script.html b/layouts/partials/paige/script.html index 8995dc55..0297ab67 100644 --- a/layouts/partials/paige/script.html +++ b/layouts/partials/paige/script.html @@ -12,7 +12,7 @@ {{ if $raw }} {{ $src = $src }} {{ else }} - {{ $resource := (partial "paige/func-resource.html" (dict + {{ $resource := (partial "paige/resource.html" (dict "page" $page "url" $src )) | minify | fingerprint }} diff --git a/layouts/shortcodes/paige/gallery.html b/layouts/shortcodes/paige/gallery.html index 46b66ef8..f3cbd86b 100644 --- a/layouts/shortcodes/paige/gallery.html +++ b/layouts/shortcodes/paige/gallery.html @@ -19,7 +19,7 @@ {{ $resource := "" }} {{ if not $raw }} - {{ $resource = partial "paige/func-resource.html" (dict + {{ $resource = partial "paige/resource.html" (dict "page" .Page "url" $image ) }}