Remove paige.description, paige.list.description params

This commit is contained in:
Will Faught
2023-02-24 20:47:49 -08:00
parent 0698a38e17
commit 4270766090
3 changed files with 4 additions and 12 deletions

View File

@@ -30,8 +30,7 @@
{{ $date := cond ($page.Param "paige.list.date.hide" | not) .PublishDate "" }}
{{ $dateclass := $page.Param "paige.list.date.class" | default "mb-0 paige-date text-center text-secondary" }}
{{ $dateformat := $page.Param "paige.list.date.format" | default ":date_long" }}
{{ $description := cond ($page.Param "paige.list.description.hide" | not) (.Description | markdownify) "" }}
{{ $descriptionclass := $page.Param "paige.list.description.class" | default "mb-0 paige-description text-center" }}
{{ $description := .Description | markdownify }}
{{ $draft := .Draft }}
{{ $expired := and .ExpiryDate (lt .ExpiryDate now) }}
{{ $flags := slice }}
@@ -81,7 +80,7 @@
{{ end }}
{{ with $description }}
<p {{ with $descriptionclass }} class="{{ . }}" {{ end }}>{{ . }}</p>
<p class="mb-0 paige-description text-center">{{ . }}</p>
{{ end }}
{{ with $summary }}