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 c1a00bb..c500765 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,7 +4,7 @@ {{ define "content" }} <div class="post-list"> - {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" site.Params.mainSections) }} + {{ $paginator := .Paginate (where .Data.Pages "Type" "posts") }} {{ range $paginator.Pages }} {{ if .Draft }} {{ .Scratch.Set "draftPage" true }} |