diff --git a/layouts/partials/paige/links.html b/layouts/partials/paige/links.html index e75cb220..e4d6d70b 100644 --- a/layouts/partials/paige/links.html +++ b/layouts/partials/paige/links.html @@ -36,11 +36,11 @@ {{ $colorscheme := $page.Param "paige.color_scheme" | default "auto" }} {{ $context := dict "color" $color "color_scheme" $colorscheme }} -{{ partial "paige/link.html" (dict "href" "css/paige/bootstrap/paige.scss" "page" $page "sass" true "template" true "context" $context) }} -{{ partial "paige/link.html" (dict "href" "css/paige/bootstrap-icons/bootstrap-icons.css" "page" $page) }} +{{ partial "paige/tag-link.html" (dict "href" "css/paige/bootstrap/paige.scss" "page" $page "sass" true "template" true "context" $context) }} +{{ partial "paige/tag-link.html" (dict "href" "css/paige/bootstrap-icons/bootstrap-icons.css" "page" $page) }} {{ if $page.Param "paige.math" }} - {{ partial "paige/link.html" (dict "href" "css/paige/katex/katex.min.css") }} + {{ partial "paige/tag-link.html" (dict "href" "css/paige/katex/katex.min.css") }} {{ end }} {{ range $page.AlternativeOutputFormats }} diff --git a/layouts/partials/paige/link.html b/layouts/partials/paige/tag-link.html similarity index 95% rename from layouts/partials/paige/link.html rename to layouts/partials/paige/tag-link.html index 6108e2d5..f472e394 100644 --- a/layouts/partials/paige/link.html +++ b/layouts/partials/paige/tag-link.html @@ -14,7 +14,7 @@ {{ $outputstyle := cond hugo.IsProduction "compressed" "" }} {{ if not $href }} - {{ errorf "layouts/partials/paige/link.html: no href" }} + {{ errorf "layouts/partials/paige/tag-link.html: no href" }} {{ end }} {{ with partial "paige/resource.html" (dict "page" $page "url" $href) }}