archive list layout default value from int to str
This commit is contained in:
parent
59fbf3cc1d
commit
ada7ed9068
|
@ -10,7 +10,7 @@
|
|||
</span>
|
||||
<main class="main archive">
|
||||
<div>
|
||||
{{ range (and (where .Site.RegularPages "Type" "!=" "about") (where .Site.RegularPages "Type" "!=" "archive")).GroupByDate (.Site.Params.archiveGroupByDate | default 2006) }}
|
||||
{{ range (and (where .Site.RegularPages "Type" "!=" "about") (where .Site.RegularPages "Type" "!=" "archive")).GroupByDate (.Site.Params.archiveGroupByDate | default "2006") }}
|
||||
<span class="archive__key">{{ .Key }}</span>
|
||||
<ul class="archive__ul">
|
||||
{{ range .Pages }}
|
||||
|
|
Loading…
Reference in New Issue