From ada7ed90689783eafd6acfdb88f72334072b9a61 Mon Sep 17 00:00:00 2001 From: Ben Gnoinski Date: Wed, 13 Nov 2019 20:10:05 -0800 Subject: [PATCH] archive list layout default value from int to str --- layouts/archive/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/archive/list.html b/layouts/archive/list.html index adabbaa..04f5d54 100644 --- a/layouts/archive/list.html +++ b/layouts/archive/list.html @@ -10,7 +10,7 @@
- {{ 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") }} {{ .Key }}
    {{ range .Pages }}