diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 8e25c64..43eaa3f 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,7 +2,7 @@
{{ $isntDefault := not (or (eq (trim $.Site.Params.contentTypeName " ") "posts") (eq (trim $.Site.Params.contentTypeName " ") "")) }} {{ $contentTypeName := cond $isntDefault (string $.Site.Params.contentTypeName) "posts" }} - {{ $paginator := .Paginate (where .Data.Pages "Type" $contentTypeName) }} + {{ $paginator := .Paginate (where .Site.RegularPages "Type" $contentTypeName) }} {{ range $paginator.Pages }}