diff --git a/layouts/index.html b/layouts/index.html
index 2576756..c01763a 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,6 @@
{{ define "main" -}}
-{{ $paginator := .Paginate (where .Data.Pages ".Params.unlisted" "!=" "true") }}
+{{ $paginator := .Paginate (where .Site.RegularPages ".Params.unlisted" "!=" "true") }}
{{ range $paginator.Pages -}}