diff --git a/README.md b/README.md index 6069b92d..fb4fddae 100644 --- a/README.md +++ b/README.md @@ -263,8 +263,6 @@ paige: show: false pages: hide: false - section: - class: "mb-3 w-100" math: false # Enable math typesetting menu: breakpoint: "sm" # Bootstrap breakpoint at which to display all menu items diff --git a/layouts/partials/paige/pages.html b/layouts/partials/paige/pages.html index 431fc36e..2b34db93 100644 --- a/layouts/partials/paige/pages.html +++ b/layouts/partials/paige/pages.html @@ -33,7 +33,6 @@ {{ $future := and .PublishDate (gt .PublishDate now) }} {{ $modified := and .PublishDate .Lastmod (lt .PublishDate .Lastmod) }} {{ $readingtime := .ReadingTime }} - {{ $sectionclass := $page.Param "paige.list.section.class" | default "mb-3 paige-page w-100" }} {{ $summary := .Summary | htmlUnescape | plainify }} {{ $tags := .Params.tags | default slice | uniq }} {{ $title := .Title | markdownify }} @@ -64,9 +63,9 @@ {{ end }} {{ $flags = delimit ($flags | uniq) " " }} - {{ $sectionclass = delimit (split $sectionclass " " | append $flags | uniq | sort) " " }} + {{ $class := delimit (slice "mb-3" "paige-page" "w-100" | append $flags | uniq | sort) " " }} -
+
{{ with $title }}

{{ . }}

{{ end }}