Rename header to date_header
This commit is contained in:
@@ -285,12 +285,12 @@ paige:
|
|||||||
class: "text-center text-secondary" # Default is "text-center text-secondary"
|
class: "text-center text-secondary" # Default is "text-center text-secondary"
|
||||||
format: ":date_long" # Default is ":date_long"
|
format: ":date_long" # Default is ":date_long"
|
||||||
show: false # Default is false
|
show: false # Default is false
|
||||||
|
date_header:
|
||||||
|
class: "h5 text-center" # Month and year header class attribute
|
||||||
|
hide: false # Default is false
|
||||||
description:
|
description:
|
||||||
class: "text-center" # Default is "text-center"
|
class: "text-center" # Default is "text-center"
|
||||||
hide: false # Default is false
|
hide: false # Default is false
|
||||||
header:
|
|
||||||
class: "h5 text-center" # Month and year header class attribute
|
|
||||||
hide: false # Default is false
|
|
||||||
summary:
|
summary:
|
||||||
class: "text-center" # Default is "text-center"
|
class: "text-center" # Default is "text-center"
|
||||||
show: false # Default is false
|
show: false # Default is false
|
||||||
|
@@ -18,8 +18,8 @@
|
|||||||
{{ $p := .Paginate (.Pages.ByDate.Reverse.GroupByDate "January 2006") }}
|
{{ $p := .Paginate (.Pages.ByDate.Reverse.GroupByDate "January 2006") }}
|
||||||
<section>
|
<section>
|
||||||
{{ range $p.PageGroups }}
|
{{ range $p.PageGroups }}
|
||||||
{{ if $.Param "paige.page_list.header.hide" | not }}
|
{{ if $.Param "paige.page_list.date_header.hide" | not }}
|
||||||
<h2 class="{{ $.Param `paige.page_list.header.class` | default `h5 text-center` }}">{{ .Key }}</h2>
|
<h2 class="{{ $.Param `paige.page_list.date_header.class` | default `h5 text-center` }}">{{ .Key }}</h2>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
{{ $class := "text-center" }}
|
{{ $class := "text-center" }}
|
||||||
|
Reference in New Issue
Block a user