did you stand too close to the fire?
like a liar looking for forgiveness from a stone.
From 4a224b58f482fb22e20360539dfad86ba6405ca9 Mon Sep 17 00:00:00 2001 From: xy <10816187@qq.com> Date: Sat, 15 Aug 2026 22:23:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BD=92=E6=A1=A3=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/IndexPage.astro | 60 +--------- src/components/Post/List.astro | 6 + src/consts.ts | 3 +- src/layouts/Layout.astro | 21 +++- src/layouts/PageFooter.astro | 26 ++++ src/{components => layouts}/PageHeader.astro | 24 ++-- src/pages/archive.astro | 119 +++++++++++++++++++ src/pages/post/[...slug].astro | 68 +++-------- src/pages/sitemap-pages.xml.ts | 1 + src/styles/css-reset.css | 4 + 10 files changed, 215 insertions(+), 117 deletions(-) create mode 100644 src/layouts/PageFooter.astro rename src/{components => layouts}/PageHeader.astro (62%) diff --git a/src/components/IndexPage.astro b/src/components/IndexPage.astro index 328855f..7b2682e 100644 --- a/src/components/IndexPage.astro +++ b/src/components/IndexPage.astro @@ -1,11 +1,7 @@ --- -import {siteConfig} from "@/consts.ts"; import PostList from "@/components/Post/List.astro"; import Pagination from "@/components/Post/Pagination.astro"; import type {Post} from "@/types"; -import PageHeader from "@/components/PageHeader.astro"; - -const {siteTitle} = siteConfig; interface Props { posts: Post[] @@ -15,42 +11,18 @@ interface Props { const {posts, page, totalPage} = Astro.props --- - -
did you stand too close to the fire?
like a liar looking for forgiveness from a stone.