mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 08:41:37 +00:00
Adjust post per page
This commit is contained in:
@ -36,7 +36,7 @@ export const postLists = async (): Promise<Post[]> => {
|
||||
/**
|
||||
* Get posts list page.
|
||||
*/
|
||||
export const PostPerPage = 5;
|
||||
export const PostPerPage = 10;
|
||||
export type PostPath = { params: { page: string } };
|
||||
const postPathCallback = (prev: PostPath[], _: unknown, i: number) =>
|
||||
i + 1 > 2
|
||||
|
Reference in New Issue
Block a user