diff --git a/layouts/partials/recent.html b/layouts/partials/recent.html
index 5cc7f67..c9fdf20 100644
--- a/layouts/partials/recent.html
+++ b/layouts/partials/recent.html
@@ -2,7 +2,7 @@
{{ i18n "recentPosts" }}
{{ $num_recent_posts := (index .Site.Params.sidebar "num_recent_posts" | default 5) }}
-{{ range first $num_recent_posts (where .Site.Pages "Section" "in" .Site.Params.mainSections) }}
+{{ range first $num_recent_posts (where .Site.RegularPages "Section" "in" .Site.Params.mainSections) }}
- {{.Title | markdownify }}
{{ end }}