From b3038603e8f452f8eaff55fd2bd35a43f51fccae Mon Sep 17 00:00:00 2001 From: xy <10816187@qq.com> Date: Fri, 14 Aug 2026 21:08:45 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=87=8D=E5=86=99filter=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=20=E6=9B=B4=E6=96=B0=E4=B8=BAsearch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/IndexSidebar.astro | 4 +- src/components/IndexView.astro | 20 +- .../{PostList.astro => Post/Item.astro} | 145 ++--- src/components/Post/List.astro | 31 ++ src/components/Post/Pagination.astro | 60 +++ src/pages/filter.astro | 505 ------------------ src/pages/post/[...slug].astro | 2 +- src/pages/search.astro | 202 +++++++ src/types/post.ts | 3 +- tsconfig.json | 2 +- 10 files changed, 350 insertions(+), 624 deletions(-) rename src/components/{PostList.astro => Post/Item.astro} (50%) create mode 100644 src/components/Post/List.astro create mode 100644 src/components/Post/Pagination.astro delete mode 100644 src/pages/filter.astro create mode 100644 src/pages/search.astro diff --git a/src/components/IndexSidebar.astro b/src/components/IndexSidebar.astro index 55134ad..9d6a3a9 100644 --- a/src/components/IndexSidebar.astro +++ b/src/components/IndexSidebar.astro @@ -23,7 +23,7 @@ const { data: tags } = categories.map((category) => (
请从下方分类或标签进入
- > - ) - } - 返回首页 -{post.summary}
- -无数据
-