mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-19 10:54:06 -06:00
Update layout components and localization for links
This commit is contained in:
parent
11426034cd
commit
99c6ac5a0a
@ -84,7 +84,7 @@ export const defaultContentPageLayout: PageLayout = {
|
|||||||
// components for pages that display lists of pages (e.g. tags or folders)
|
// components for pages that display lists of pages (e.g. tags or folders)
|
||||||
export const defaultListPageLayout: PageLayout = {
|
export const defaultListPageLayout: PageLayout = {
|
||||||
beforeBody: [
|
beforeBody: [
|
||||||
// Component.Breadcrumbs(),
|
Component.Breadcrumbs(),
|
||||||
Component.ArticleTitle(),
|
Component.ArticleTitle(),
|
||||||
Component.ContentMeta()],
|
Component.ContentMeta()],
|
||||||
left: [
|
left: [
|
||||||
@ -99,22 +99,23 @@ export const defaultListPageLayout: PageLayout = {
|
|||||||
{ Component: Component.Darkmode() },
|
{ Component: Component.Darkmode() },
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
|
Component.DesktopOnly(Component.Explorer()),
|
||||||
Component.DesktopOnly(Component.RecentNotes({
|
Component.DesktopOnly(Component.RecentNotes({
|
||||||
title: "最近更新",
|
title: "最近更新",
|
||||||
showTags: false,
|
showTags: false,
|
||||||
limit: 5,
|
limit: 5,
|
||||||
linkToMore: "pages",
|
linkToMore: "页面",
|
||||||
})),
|
})),
|
||||||
// Component.Explorer(),
|
|
||||||
],
|
],
|
||||||
right: [],
|
right: [],
|
||||||
afterBody: [
|
afterBody: [
|
||||||
Component.Backlinks(),
|
Component.Backlinks(),
|
||||||
|
Component.MobileOnly(Component.Explorer()),
|
||||||
Component.MobileOnly(Component.RecentNotes({
|
Component.MobileOnly(Component.RecentNotes({
|
||||||
title: "最近更新",
|
title: "最近更新",
|
||||||
showTags: false,
|
showTags: false,
|
||||||
limit: 5,
|
limit: 5,
|
||||||
linkToMore: "pages",
|
linkToMore: "页面",
|
||||||
})),
|
})),
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user