summaryrefslogtreecommitdiffstats
path: root/layouts/_default/list.json.json
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/list.json.json')
-rw-r--r--layouts/_default/list.json.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.json.json b/layouts/_default/list.json.json
index 30b6f80..b912df0 100644
--- a/layouts/_default/list.json.json
+++ b/layouts/_default/list.json.json
@@ -3,7 +3,7 @@
{{- $pages := slice -}}
{{- if $.IsHome -}}
- {{- $mainSections := site.Params.mainSections | default (slice "post") }}
+ {{- $mainSections := site.Params.mainSections | default (slice "posts") }}
{{- $pages = where $pctx.RegularPages.ByDate.Reverse "Type" "in" $mainSections -}}
{{- else if $.IsSection -}}
{{- $pages = $pctx.RegularPages.ByDate.Reverse -}}