修改布局

This commit is contained in:
ennea 2025-03-13 01:01:22 +08:00
parent d6702bb8d0
commit 1ba4ec7fcc

View File

@ -5,7 +5,7 @@ import * as Component from "./quartz/components"
export const sharedPageComponents: SharedLayout = {
head: Component.Head(),
header: [],
afterBody: [Component.RecentNotes({
left: [Component.RecentNotes({
title: "最近笔记",
limit: 5,
showTags: true
@ -13,7 +13,6 @@ export const sharedPageComponents: SharedLayout = {
footer: Component.Footer({
links: {
GitHub: "https://github.com/jackyzha0/quartz",
"Discord Community": "https://discord.gg/cRFFHYye7t", 
"Scroll to top ↑": "#",
},
}),
@ -38,7 +37,6 @@ export const defaultContentPageLayout: PageLayout = {
{ Component: Component.Darkmode() },
],
}),
Component.Explorer(),
],
right: [ 
Component.Graph(),
@ -74,7 +72,6 @@ export const defaultListPageLayout: PageLayout = {
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
Component.Explorer(),
],
right: [],
}