diff --git a/layouts/index.html b/layouts/index.html index 7a5ec9d..ba31917 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,7 +6,7 @@ {{- end }} {{- $postSections := ($.Param "postSections" | default (slice "posts")) }} - {{- $paginator := .Paginate ( where .Site.RegularPages "Section" "in" $postSections ) }} + {{- $paginator := .Paginate ( where .Site.RegularPages "Type" "in" $postSections ) }} {{- range $paginator.Pages }} {{- .Render "summary" }} {{- end }}