mirror of
https://github.com/KazooTTT/kazoottt-blog-v2.git
synced 2025-06-16 23:41:20 +08:00
chore: 移除首页的笔记模块
- 移除首页的笔记模块,因为笔记功能暂时不使用 - 修改了README中的链接格式,使用plaintext - 修改了menuLinks,注释掉了notes
This commit is contained in:
@ -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);
|
||||
}
|
||||
</ul>
|
||||
</section>
|
||||
{
|
||||
<!-- {
|
||||
latestNotes.length > 0 && (
|
||||
<section class="mt-16">
|
||||
<h2 class="title text-accent mb-6 text-xl">
|
||||
@ -89,7 +88,7 @@ const latestNotes = allNotes.sort(collectionDateSort).slice(0, MAX_NOTES);
|
||||
</ul>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
} -->
|
||||
<ContentFooter />
|
||||
<GiscusComment client:load />
|
||||
</PageLayout>
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user