Rename link.html to tag-link.html

This commit is contained in:
Will Faught
2024-07-12 13:47:31 -07:00
parent 5243ee3115
commit 239cee82c6
2 changed files with 4 additions and 4 deletions

View File

@@ -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 }}

View File

@@ -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) }}