Skip to content

Commit de62947

Browse files
committed
fix: only 3 posts in the index page
1 parent 9b27590 commit de62947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const getStaticProps: GetStaticProps = async () => {
3838
const mdxFiles = getAllMdx().map((post) => post["frontMatter"]);
3939
return {
4040
props: {
41-
posts: mdxFiles.slice(0, 5),
41+
posts: mdxFiles.slice(0, 3),
4242
},
4343
};
4444
};

0 commit comments

Comments
 (0)