mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-14 00:07:03 +01:00
Merge pull request #99 from camilleroux/patch-1
Use RegularPages instead of Pages in list.html
This commit is contained in:
commit
702b68c5dd
@ -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" }}
|
||||
|
Loading…
Reference in New Issue
Block a user