mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
Update quartz.layout.ts
This commit is contained in:
parent
2bbdc27c40
commit
92a17ee584
@ -28,22 +28,22 @@ export const defaultContentPageLayout: PageLayout = {
|
||||
components: [
|
||||
{
|
||||
Component: Component.Search(),
|
||||
grow: true,
|
||||
grow: true,
|
||||
},
|
||||
{ Component: Component.Darkmode() },
|
||||
],
|
||||
}),
|
||||
Component.Explorer(),
|
||||
Component.RecentNotes({
|
||||
title: "最近笔记",
|
||||
limit: 5,
|
||||
showTags: true
|
||||
}),
|
||||
}),
|
||||
Component.Explorer(),
|
||||
],
|
||||
right: [
|
||||
Component.DesktopOnly(Component.TableOfContents()),
|
||||
Component.DesktopOnly(Component.TableOfContents()),
|
||||
Component.Backlinks(),
|
||||
Component.Graph(),
|
||||
Component.Graph(),
|
||||
],
|
||||
afterBody: [],
|
||||
}
|
||||
@ -53,15 +53,15 @@ export const defaultListPageLayout: PageLayout = {
|
||||
beforeBody: [Component.ArticleTitle(), Component.ContentMeta()],
|
||||
left: [
|
||||
Component.PageTitle(),
|
||||
Component.MobileOnly(Component.Spacer()),
|
||||
Component.MobileOnly(Component.Spacer()),
|
||||
Component.Search(),
|
||||
Component.Darkmode(),
|
||||
Component.Explorer(),
|
||||
Component.RecentNotes({
|
||||
Component.RecentNotes({
|
||||
title: "最近笔记",
|
||||
limit: 5,
|
||||
showTags: true
|
||||
}),
|
||||
}),
|
||||
Component.Explorer(),
|
||||
],
|
||||
right: [],
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user