diff --git a/layouts/partials/recent_posts.html b/layouts/partials/recent_posts.html index 1ea6cc638..5abe5532e 100644 --- a/layouts/partials/recent_posts.html +++ b/layouts/partials/recent_posts.html @@ -15,8 +15,7 @@

{{ .Site.Params.recent_posts.title }}

- - {{ $posts := .Paginate (where .Site.RegularPages "Type" "blog") }} + {{ $posts := .Paginate (where site.RegularPages "Type" "in" site.Params.mainSections) }} {{ range first 4 $posts.Pages }}