fix pagination
This commit is contained in:
parent
71fce0bf28
commit
b9bd15ad09
@ -1,6 +1,6 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ range .Paginator.Pages }}
|
||||
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||
{{ range (.Paginate $pages).Pages }}
|
||||
<article class="post-list">
|
||||
<header>
|
||||
<h1>
|
||||
|
Loading…
Reference in New Issue
Block a user