Change date header tag from h2 to p

This commit is contained in:
Will Faught
2023-02-05 21:05:01 -08:00
parent ee6abedf82
commit 63e9f1e2cd

View File

@@ -23,7 +23,7 @@
<section>
{{ range $p.PageGroups }}
{{ if $page.Param "paige.list.date_header.hide" | not }}
<h2 class="{{ $.Param `paige.list.date_header.class` | default `h5 text-center` }}">{{ .Key }}</h2>
<p class="{{ $.Param `paige.list.date_header.class` | default `h5 text-center` }}">{{ .Key }}</p>
{{ end }}
{{ range .Pages }}
{{ $authors := cond ($page.Param "paige.list.authors.hide" | not) (partial "paige/func-authors.html" .) "" }}