From 32f6d38549ae7e5cd38b239f2cbe0efbf0a34924 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 4 Apr 2022 02:38:10 +0100 Subject: [PATCH] web/lukegbcom: limit homepage posts to 3 --- web/lukegbcom/pages/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/lukegbcom/pages/index.js b/web/lukegbcom/pages/index.js index 865da1f18e..b2e3b5fe61 100644 --- a/web/lukegbcom/pages/index.js +++ b/web/lukegbcom/pages/index.js @@ -9,7 +9,7 @@ export async function getStaticProps() { const allPostsData = await getSortedPostsData() return { props: { - allPostsData + allPostsData: allPostsData.slice(0, 3) } } }