Remove paige.authors, paige.list.authors params

This commit is contained in:
Will Faught
2023-02-24 20:55:53 -08:00
parent 4270766090
commit 80ec8a9107
3 changed files with 4 additions and 12 deletions

View File

@@ -23,8 +23,7 @@
<p class="{{ $.Param `paige.list.date_header.class` | default `h5 paige-date-header text-center` }}">{{ .Key }}</p>
{{ end }}
{{ range .Pages }}
{{ $authors := cond ($page.Param "paige.list.authors.hide" | not) (partial "paige/authors.html" .) "" }}
{{ $authorsclass := $page.Param "paige.list.authors.class" | default "mb-0 paige-authors text-center text-secondary" }}
{{ $authors := partial "paige/authors.html" . }}
{{ $categories := cond ($page.Param "paige.list.terms.hide" | not) (.Params.categories | default slice) slice | uniq }}
{{ $commiturl := "" }}
{{ $date := cond ($page.Param "paige.list.date.hide" | not) .PublishDate "" }}
@@ -106,7 +105,7 @@
{{ end }}
{{ with $authors }}
<p {{ with $authorsclass }} class="{{ . }}" {{ end }}>{{ . }}</p>
<p class="mb-0 paige-authors text-center text-secondary">{{ . }}</p>
{{ end }}
{{ with $date }}