diff options
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index ddc93f1..ef083bc 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,7 +4,7 @@ <!-- list --> <div class="col-md-9 col-12 float-left" id="content"> <!-- homepage range in posts --> - {{ $paginator := .Paginate (where .Site.RegularPages "Type" "post") }} + {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} {{ range $paginator.Pages }} <div id="post"> <h2 id="post-title"> |