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