diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 8190f0a7..159b055a 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1,6 +1,7 @@ {{- $href := cond (.Destination | not | not) (printf ` href="%s"` .Destination) "" -}} {{- $targetvalue := partial "paige/func-target.html" (dict "page" .Page "url" .Destination) -}} -{{- $targetattr := cond ($targetvalue | not | not) (printf ` target="%s"` $targetvalue) "" -}} {{- $title := cond (.Title | not | not) (printf ` title="%s"` .Title) "" -}} +{{- $targetattr := cond ($targetvalue | not | not) (printf ` target="%s"` $targetvalue) "" -}} + {{- printf `%s` $href $targetattr $title .Text | safeHTML -}} diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 667f82e3..0b0f36bd 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -13,6 +13,7 @@ {{ partial "paige/tag-html.html" $page }} {{ partial "paige/tag-head.html" $page }} {{ partial "paige/tag-body.html" $page }} + {{ if templates.Exists "partials/paige/body-first.html" }} {{ partial "paige/body-first.html" $page }} {{ end }} diff --git a/layouts/_default/list.atom.xml b/layouts/_default/list.atom.xml index 1b054e0c..846950dd 100644 --- a/layouts/_default/list.atom.xml +++ b/layouts/_default/list.atom.xml @@ -109,6 +109,7 @@ {{ if and $content $paramlink }} {{ $link := or (.Param "paige.feed.page_link" | markdownify) "⏎" }} + {{ $footer := printf `

%s

` .Permalink (htmlEscape .Title) $link | safeHTML }} {{ $content = print $content $footer }} diff --git a/layouts/_default/list.rss.xml b/layouts/_default/list.rss.xml index 7451d010..826b6ce7 100644 --- a/layouts/_default/list.rss.xml +++ b/layouts/_default/list.rss.xml @@ -112,6 +112,7 @@ {{ if and $description $paramlink }} {{ $pagelink := or (.Param "paige.feed.page_link" | markdownify) "⏎" }} + {{ $footer := printf `

%s

` .Permalink (htmlEscape $title) $pagelink | safeHTML }} {{ $description = print $description $footer }} diff --git a/layouts/partials/paige/links.html b/layouts/partials/paige/links.html index e4d6d70b..540d63f1 100644 --- a/layouts/partials/paige/links.html +++ b/layouts/partials/paige/links.html @@ -33,8 +33,9 @@ {{ end }} {{ $color := $page.Param "paige.color" | default "#0d6efd" }} -{{ $colorscheme := $page.Param "paige.color_scheme" | default "auto" }} -{{ $context := dict "color" $color "color_scheme" $colorscheme }} +{{ $colorScheme := $page.Param "paige.color_scheme" | default "auto" }} + +{{ $context := dict "color" $color "color_scheme" $colorScheme }} {{ 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) }}