Update index recent post count

This commit is contained in:
N-Upchurch 2023-07-19 10:09:28 -05:00
parent 541a66d37d
commit 46b042d5b2

View File

@ -3,7 +3,7 @@ layout: layouts/home.njk
eleventyNavigation:
key: Home
order: 1
numberOfLatestPostsToShow: 3
numberOfLatestPostsToShow: 10
---
{% set postsCount = collections.posts | length %}
{% set latestPostsCount = postsCount | min(numberOfLatestPostsToShow) %}