diff --git a/layouts/index.html b/layouts/index.html
index 9d013f294..3970758cf 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,7 +1,7 @@
{{- define "content" -}}
{{/* (index .Site.Paginate) */}}
- {{- $paginator := .Paginate (where (where .Data.Pages "Type" "post") ".Params.hiddenfromhomepage" "!=" true) }}
+ {{- $paginator := .Paginate (where (where .Site.RegularPages "Type" "post") ".Params.hiddenfromhomepage" "!=" true) }}
{{- range $paginator.Pages -}}
{{ .Render "summary" }}
{{ end -}}
@@ -21,4 +21,4 @@
{{- end }}
-{{- end -}}
\ No newline at end of file
+{{- end -}}