diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 02bc92f..70c19e1 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -12,7 +12,7 @@ {{ i18n "recentPosts" }} - {{ range first $num_recent_posts (where .Site.Pages "Type" "post") }} + {{ range first $num_recent_posts (where .Site.RegularPages "Type" "post") }} {{.Title | markdownify }} {{ end }}