diff --git a/layouts/partials/sections/recent-posts.html b/layouts/partials/sections/recent-posts.html index 937bdff..7dbc7e4 100644 --- a/layouts/partials/sections/recent-posts.html +++ b/layouts/partials/sections/recent-posts.html @@ -9,7 +9,7 @@ {{ end }}
- {{ range first 3 (where site.RegularPages.ByDate.Reverse "Type" "in" "posts" )}} + {{ range first .section.numShow (where site.RegularPages.ByDate.Reverse "Type" "in" "posts" )}} {{ partial "cards/recent-post.html" . }} {{ end }}