Remove paige.list.section params
This commit is contained in:
@@ -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
|
||||
|
@@ -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) " " }}
|
||||
|
||||
<section {{ with $sectionclass }} class="{{ . }}" {{ end }}>
|
||||
<section class="{{ $class }}">
|
||||
{{ with $title }}
|
||||
<p class="mb-0 paige-title text-center"><a href="{{ $titlelink }}">{{ . }}</a></p>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user