diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 6ee6dbc..1461424 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -30,7 +30,7 @@ {{ define "main" }} {{ $truncate := default true .Site.Params.truncate }} -{{ $paginator := .Paginate (where .Site.Pages "Section" "in" .Site.Params.mainSections) }} +{{ $paginator := .Paginate (where .Site.RegularPages "Section" "in" .Site.Params.mainSections) }} {{ range $paginator.Pages }} {{ if $truncate }} {{ .Render "summary" }}