From 1f06a33ceb2d983d54a8c6ea3a20842eba0a296a Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 24 Feb 2023 21:23:45 -0800 Subject: [PATCH] Remove paige.list.section params --- README.md | 2 -- layouts/partials/paige/pages.html | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) 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 }}