Rename link.html to tag-link.html
This commit is contained in:
@@ -36,11 +36,11 @@
|
|||||||
{{ $colorscheme := $page.Param "paige.color_scheme" | default "auto" }}
|
{{ $colorscheme := $page.Param "paige.color_scheme" | default "auto" }}
|
||||||
{{ $context := dict "color" $color "color_scheme" $colorscheme }}
|
{{ $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/tag-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-icons/bootstrap-icons.css" "page" $page) }}
|
||||||
|
|
||||||
{{ if $page.Param "paige.math" }}
|
{{ 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 }}
|
{{ end }}
|
||||||
|
|
||||||
{{ range $page.AlternativeOutputFormats }}
|
{{ range $page.AlternativeOutputFormats }}
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
{{ $outputstyle := cond hugo.IsProduction "compressed" "" }}
|
{{ $outputstyle := cond hugo.IsProduction "compressed" "" }}
|
||||||
|
|
||||||
{{ if not $href }}
|
{{ if not $href }}
|
||||||
{{ errorf "layouts/partials/paige/link.html: no href" }}
|
{{ errorf "layouts/partials/paige/tag-link.html: no href" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ with partial "paige/resource.html" (dict "page" $page "url" $href) }}
|
{{ with partial "paige/resource.html" (dict "page" $page "url" $href) }}
|
Reference in New Issue
Block a user