Make it 5 posts on the homepage

This commit is contained in:
Cassidy Williams
2023-11-21 23:54:40 -06:00
parent ad1785f345
commit ef062ba442

View File

@@ -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);
---