diff --git a/layouts/partials/home-content.html b/layouts/partials/home-content.html index 565b772..18fa1c7 100644 --- a/layouts/partials/home-content.html +++ b/layouts/partials/home-content.html @@ -14,7 +14,7 @@ {{ end }} {{ end }} - {{ $list := where .Data.Pages "Section" "in" ($.Scratch.Get "paginatedSections") }} + {{ $list := where .Site.RegularPages "Section" "in" ($.Scratch.Get "paginatedSections") }} {{ $list := where $list "Section" "!=" "" }} {{ $paginator := .Paginate ( $list ) }}