Rename header to date_header

This commit is contained in:
Will Faught
2023-01-28 19:50:34 -08:00
parent 4aadf777fb
commit a6667e6c41
2 changed files with 5 additions and 5 deletions

View File

@@ -18,8 +18,8 @@
{{ $p := .Paginate (.Pages.ByDate.Reverse.GroupByDate "January 2006") }}
<section>
{{ range $p.PageGroups }}
{{ if $.Param "paige.page_list.header.hide" | not }}
<h2 class="{{ $.Param `paige.page_list.header.class` | default `h5 text-center` }}">{{ .Key }}</h2>
{{ if $.Param "paige.page_list.date_header.hide" | not }}
<h2 class="{{ $.Param `paige.page_list.date_header.class` | default `h5 text-center` }}">{{ .Key }}</h2>
{{ end }}
{{ range .Pages }}
{{ $class := "text-center" }}