feat: add number of posts config for home page (#281)

* Add a SITE config parameter for posts in index page

* docs: update blog post for `postPerIndex` config

---------

Co-authored-by: satnaing <satnaingdev@gmail.com>
This commit is contained in:
David Legrand
2024-07-14 09:48:49 +00:00
committed by GitHub
parent 7b045a0be8
commit 0d5ea52c23
4 changed files with 5 additions and 2 deletions
+1
View File
@@ -8,6 +8,7 @@ export const SITE: Site = {
title: "AstroPaper",
ogImage: "astropaper-og.jpg",
lightAndDarkMode: true,
postPerIndex: 4,
postPerPage: 3,
scheduledPostMargin: 15 * 60 * 1000, // 15 minutes
};