From 5581929151a00bd7b8e229b921a505a81f57768a Mon Sep 17 00:00:00 2001 From: Camille Roux <25977+camilleroux@users.noreply.github.com> Date: Thu, 9 Aug 2018 15:06:28 +0200 Subject: [PATCH] Use RegularPages instead of Pages in list.html --- layouts/_default/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }}