web/lukegbcom: limit homepage posts to 3
This commit is contained in:
parent
43e5ecf0db
commit
32f6d38549
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue