web/lukegbcom: limit homepage posts to 3

This commit is contained in:
Luke Granger-Brown 2022-04-04 02:38:10 +01:00
parent 43e5ecf0db
commit 32f6d38549

View file

@ -9,7 +9,7 @@ export async function getStaticProps() {
const allPostsData = await getSortedPostsData() const allPostsData = await getSortedPostsData()
return { return {
props: { props: {
allPostsData allPostsData: allPostsData.slice(0, 3)
} }
} }
} }