diff --git a/README.md b/README.md index 8d49589c..6e8c1d3c 100644 --- a/README.md +++ b/README.md @@ -296,9 +296,6 @@ paige: hide: false inner_class: "badge text-bg-secondary text-decoration-none" outer_class: "mb-0 text-center" - title: - class: "mb-0 text-center" - hide: false math: false # Enable math typesetting menu: breakpoint: "sm" # Bootstrap breakpoint at which to display all menu items @@ -323,9 +320,6 @@ paige: class: "border mb-3 pe-3 ps-3 pt-3 rounded" hide: false max_width: "" - title: - class: "display-5 fw-bold text-center" - hide: false ``` The assigned values shown are the default values. diff --git a/layouts/partials/paige/metadata.html b/layouts/partials/paige/metadata.html index 8bc0fb6f..72e91b2d 100644 --- a/layouts/partials/paige/metadata.html +++ b/layouts/partials/paige/metadata.html @@ -23,8 +23,7 @@ {{ $tags := cond ($page.Param "paige.terms.hide" | not) ($page.Params.tags | default slice) slice | uniq }} {{ $termsinnerclass := $page.Param "paige.terms.inner_class" | default "badge paige-terms-inner text-bg-secondary text-decoration-none" }} {{ $termsouterclass := $page.Param "paige.terms.outer_class" | default "paige-terms-outer text-center" }} -{{ $title := cond ($page.Param "paige.title.hide" | not) ($page.Title | markdownify) "" }} -{{ $titleclass := $page.Param "paige.title.class" | default "display-5 fw-bold paige-title text-center" }} +{{ $title := $page.Title | markdownify }} {{ $titlelink := $page.Params.link }} {{ $titlepage := $page.RelPermalink }} @@ -34,7 +33,7 @@
{{ with $title }} -

{{ with $titlelink }}{{ . }}{{ else }}{{ . }}{{ end }}{{ if $listshowcontent }}#{{ end }}

+

{{ with $titlelink }}{{ . }}{{ else }}{{ . }}{{ end }}{{ if $listshowcontent }}#{{ end }}

{{ end }} {{ with $description }} diff --git a/layouts/partials/paige/pages.html b/layouts/partials/paige/pages.html index a3f4efe7..4c7bbcac 100644 --- a/layouts/partials/paige/pages.html +++ b/layouts/partials/paige/pages.html @@ -45,8 +45,7 @@ {{ $tags := cond ($page.Param "paige.list.terms.hide" | not) (.Params.tags | default slice) slice | uniq }} {{ $termsinnerclass := $page.Param "paige.list.terms.inner_class" | default "badge paige-terms-inner text-bg-secondary text-decoration-none" }} {{ $termsouterclass := $page.Param "paige.list.terms.outer_class" | default "mb-0 paige-terms-outer text-center" }} - {{ $title := cond ($page.Param "paige.list.title.hide" | not) (.Title | markdownify) "" }} - {{ $titleclass := $page.Param "paige.list.title.class" | default "mb-0 paige-title text-center" }} + {{ $title := .Title | markdownify }} {{ $titlelink := .RelPermalink }} {{ if and ($page.Param "paige.git.commit_url_prefix") $page.GitInfo }} @@ -78,7 +77,7 @@
{{ with $title }} -

{{ . }}

+

{{ . }}

{{ end }} {{ with $description }}