Make it 5 posts on the homepage
This commit is contained in:
@@ -10,7 +10,7 @@ let posts = allPosts
|
||||
new Date(b.frontmatter.added).valueOf() -
|
||||
new Date(a.frontmatter.added).valueOf()
|
||||
)
|
||||
.slice(0, 3);
|
||||
.slice(0, 5);
|
||||
|
||||
//.sort(() => 0.5 - Math.random()).slice(0, 3);
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user