diff --git a/layouts/_default/paige/cloud.html b/layouts/_default/paige/cloud.html index c6f3e055..872dff5e 100644 --- a/layouts/_default/paige/cloud.html +++ b/layouts/_default/paige/cloud.html @@ -6,9 +6,9 @@ {{ with $page.Pages }}
diff --git a/layouts/partials/paige/list-item.html b/layouts/partials/paige/list-item.html index b755fac6..869997e3 100644 --- a/layouts/partials/paige/list-item.html +++ b/layouts/partials/paige/list-item.html @@ -16,7 +16,7 @@ {{ $summary := $page.Summary | markdownify | plainify | htmlUnescape | and ($page.Parent.Param "paige.subpage.disable_summary" | not) }} {{ $tags := $page.GetTerms "tags" }} {{ $time := $page.ReadingTime | and ($page.Parent.Param "paige.subpage.disable_reading_time" | not) }} -{{ $title := $page.Title | markdownify | plainify | htmlUnescape | and ($page.Parent.Param "paige.subpage.disable_title" | not) }} +{{ $title := $page.LinkTitle | markdownify | plainify | htmlUnescape | and ($page.Parent.Param "paige.subpage.disable_title" | not) }} {{ if $draft }} {{ $flags = $flags | append "paige-draft" "paige-unpublished" }} @@ -39,7 +39,7 @@ {{ end }} {{ $class := delimit (slice "paige-page" "w-100" | append $flags | uniq | sort) " " }} -{{ $keywords := sort (append $categories $tags) "Title" | and ($page.Parent.Param "paige.subpage.disable_keywords" | not) }} +{{ $keywords := sort (append $categories $tags) "LinkTitle" | and ($page.Parent.Param "paige.subpage.disable_keywords" | not) }}
{{ with $title }} @@ -68,11 +68,11 @@ {{- if $normal -}} {{- if gt $i 0 }} · {{ end -}} - {{ .Title }} + {{ .LinkTitle }} {{- else -}} {{- if gt $i 0 }} {{ end -}} - {{ .Title }} + {{ .LinkTitle }} {{- end -}} {{- end }}

@@ -83,7 +83,7 @@ {{ range $i, $series := . -}} {{- if gt $i 0 }} · {{ end -}} - {{ .Title }} + {{ .LinkTitle }} {{- end }}

{{ end }} @@ -93,7 +93,7 @@ {{ range $i, $author := . -}} {{- if gt $i 0 }} · {{ end -}} - {{ .Title }} + {{ .LinkTitle }} {{- end }}

{{ end }} diff --git a/layouts/partials/paige/page-footer.html b/layouts/partials/paige/page-footer.html index b7a501fb..753387b9 100644 --- a/layouts/partials/paige/page-footer.html +++ b/layouts/partials/paige/page-footer.html @@ -42,11 +42,11 @@ {{ if or $next $prev }}
{{ with $prev }} - + {{ end }} {{ with $next }} - + {{ end }}
{{ end }} diff --git a/layouts/partials/paige/page-header.html b/layouts/partials/paige/page-header.html index 794d3ae7..dc84f970 100644 --- a/layouts/partials/paige/page-header.html +++ b/layouts/partials/paige/page-header.html @@ -14,10 +14,10 @@ {{ $series := $page.GetTerms "series" | and ($page.Param "paige.page.disable_series" | not) }} {{ $tags := $page.GetTerms "tags" }} {{ $time := $page.ReadingTime | and ($page.Param "paige.page.disable_reading_time" | not) }} -{{ $title := $page.Title | markdownify | and ($page.Param "paige.page.disable_title" | not) }} +{{ $title := $page.LinkTitle | markdownify | and ($page.Param "paige.page.disable_title" | not) }} {{ $toc := and $page.Content (ne $page.TableOfContents ``) | and ($page.Param "paige.page.disable_toc" | not) }} -{{ $keywords := sort (append $categories $tags) "Title" | and ($page.Param "paige.page.disable_keywords" | not) }} +{{ $keywords := sort (append $categories $tags) "LinkTitle" | and ($page.Param "paige.page.disable_keywords" | not) }} {{ if or $alert $authors $date $description $first $keywords $last $time $series $title $toc }}
@@ -50,11 +50,11 @@ {{- if $normal -}} {{- if gt $i 0 }} · {{ end -}} - {{ .Title }} + {{ .LinkTitle }} {{- else -}} {{- if gt $i 0 }} {{ end -}} - {{ .Title }} + {{ .LinkTitle }} {{- end -}} {{- end }}

@@ -65,7 +65,7 @@ {{ range $i, $series := . -}} {{- if gt $i 0 }} · {{ end -}} - {{ .Title }} + {{ .LinkTitle }} {{- end }}

{{ end }} @@ -75,7 +75,7 @@ {{ range $i, $author := . -}} {{- if gt $i 0 }} · {{ end -}} - + {{- end }}

{{ end }} diff --git a/layouts/partials/paige/site-header.html b/layouts/partials/paige/site-header.html index cae077cc..85bab927 100644 --- a/layouts/partials/paige/site-header.html +++ b/layouts/partials/paige/site-header.html @@ -108,7 +108,7 @@ {{ end }} {{ end }} - {{ $pages = sort $pages "Title" }} + {{ $pages = sort $pages "LinkTitle" }}