From 43acb7f604d154cb25efe34002dfd07f3d340000 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Else Date: Wed, 4 Dec 2019 10:40:56 +0100 Subject: [PATCH] Fix --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}