Merge pull request #99 from camilleroux/patch-1

Use RegularPages instead of Pages in list.html
This commit is contained in:
Alan Orth 2018-08-28 12:50:28 +03:00 committed by GitHub
commit 702b68c5dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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" }}