diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 4c84589..f734ee9 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,18 +1,14 @@
{{ partial "header.html" . }}
-{{ $pctx := . }}
-{{ if .IsHome }}
-{{ $pctx = .Site }}
-{{ else }}
+{{ if not .IsHome }}
{{ end }}
-{{ $paginator := .Paginate (where $pctx.RegularPages "Type" "in" .Site.Params.mainSections) }}
+{{ $paginator := .Paginate (where .Site.RegularPages ".Params.type" "!=" "page") }}
-{{ if gt $paginator.TotalPages 0 }}
{{ range $index, $page := $paginator.Pages }}
{{ end }}
-{{ end }}
{{ if gt $paginator.TotalPages 1 }}