Update index recent post count
This commit is contained in:
1 parent
541a66d37d
commit
46b042d5b2
1 file changed
+1
-1
+1
-1
@@ -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) %}
|
||||
|
||||
Reference in new issue
Block a user