diff --git a/layouts/index.html b/layouts/index.html
index ea47e5c..90b9b32 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -6,7 +6,7 @@
{{- end }}
- {{- $mainSections := .Site.Params.mainSections | default (slice "post") }}
+ {{- $mainSections := .Site.Params.mainSections }}
{{- $paginator := .Paginate (where .Data.Pages "Section" "in" $mainSections) }}
{{- range $paginator.Pages }}