From fa9ab1a4bc822864037604046ce752b5523f6afc Mon Sep 17 00:00:00 2001 From: KazooTTT Date: Tue, 1 Apr 2025 17:09:42 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E7=9A=84=E7=AC=94=E8=AE=B0=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除首页的笔记模块,因为笔记功能暂时不使用 - 修改了README中的链接格式,使用plaintext - 修改了menuLinks,注释掉了notes --- src/pages/index.astro | 5 ++--- src/site.config.ts | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index b721b92..e0cd451 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,7 +1,6 @@ --- import SocialList from "@/components/SocialList.astro"; import PostPreview from "@/components/blog/PostPreview.astro"; -import Note from "@/components/note/Note.astro"; import { getAllFixedToTopPosts, getAllNotes, getAllPosts } from "@/data/post"; import PageLayout from "@/layouts/Base.astro"; import { collectionDateSort } from "@/utils/date"; @@ -74,7 +73,7 @@ const latestNotes = allNotes.sort(collectionDateSort).slice(0, MAX_NOTES); } - { + diff --git a/src/site.config.ts b/src/site.config.ts index 52f0ca9..ae31ca7 100644 --- a/src/site.config.ts +++ b/src/site.config.ts @@ -45,10 +45,10 @@ export const menuLinks: { path: string; title: string }[] = [ path: "/posts/", title: "Blog", }, - { - path: "/notes/", - title: "Notes", - }, + // { + // path: "/notes/", + // title: "Notes", + // }, { path: "/friends/", title: "Friends",