diff --git a/src/pages/blog/[...page].astro b/src/pages/blog/[...page].astro index 1656d52..bae6a05 100644 --- a/src/pages/blog/[...page].astro +++ b/src/pages/blog/[...page].astro @@ -5,7 +5,7 @@ import { collectionDateSort } from "@/utils/date"; import type { GetStaticPaths, Page } from "astro"; export const getStaticPaths = (async ({ paginate }) => { - const MAX_POSTS_PER_PAGE = 10; + const MAX_POSTS_PER_PAGE = 20; const MAX_TAGS = 7; const MAX_CATEGORIES = 7; const allPosts = await getAllPosts(); diff --git a/src/pages/posts/[...page].astro b/src/pages/posts/[...page].astro index bf8c745..1f40e43 100644 --- a/src/pages/posts/[...page].astro +++ b/src/pages/posts/[...page].astro @@ -9,7 +9,7 @@ import type { GetStaticPaths, Page } from "astro"; import { Icon } from "astro-icon/components"; export const getStaticPaths = (async ({ paginate }) => { - const MAX_POSTS_PER_PAGE = 10; + const MAX_POSTS_PER_PAGE = 20; const MAX_TAGS = 7; const MAX_CATEGORIES = 7; const allPosts = await getAllPosts();