feat: implement pagination

This commit is contained in:
enscribe 2024-09-15 15:52:53 -07:00
parent 72baf20564
commit aaaa2302f2
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
10 changed files with 255 additions and 55 deletions

View file

@ -3,6 +3,7 @@ export type Site = {
DESCRIPTION: string
EMAIL: string
NUM_POSTS_ON_HOMEPAGE: number
POSTS_PER_PAGE: number
SITEURL: string
}
@ -17,6 +18,7 @@ export const SITE: Site = {
'astro-erudite is a opinionated, no-frills blogging template—built with Astro, Tailwind, and shadcn/ui.',
EMAIL: 'jason@enscribe.dev',
NUM_POSTS_ON_HOMEPAGE: 2,
POSTS_PER_PAGE: 3,
SITEURL: 'https://astro-erudite.vercel.app',
}