feat: implement pagination
This commit is contained in:
parent
72baf20564
commit
aaaa2302f2
10 changed files with 255 additions and 55 deletions
|
@ -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',
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue