feat: 文章分页

This commit is contained in:
2026-07-10 18:59:54 +08:00
parent 540168d30f
commit 712f556d67
7 changed files with 206 additions and 102 deletions

1
src/types/index.ts Normal file
View File

@@ -0,0 +1 @@
export * from './post.ts'

8
src/types/post.ts Normal file
View File

@@ -0,0 +1,8 @@
export type Post = {
title: string;
summary: string;
slug: string;
cover: string;
category_name: string;
published_at: string;
}