diff --git a/layouts/index.html b/layouts/index.html index 8288b1a..9048e8b 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,6 +1,6 @@ {{ define "main" }} - - {{ range .Paginator.Pages }} + {{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} + {{ range (.Paginate $pages).Pages }}