Make it 5 posts on the homepage
This commit is contained in:
1 parent
ad1785f345
commit
ef062ba442
1 file changed
+1
-1
@@ -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