mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-20 03:14:06 -06:00
Update quartz.layout.ts
This commit is contained in:
parent
fbdd9f33da
commit
4e56758bc4
@ -18,7 +18,7 @@ export const sharedPageComponents: SharedLayout = {
|
|||||||
// components for pages that display a single page (e.g. a single note)
|
// components for pages that display a single page (e.g. a single note)
|
||||||
export const defaultContentPageLayout: PageLayout = {
|
export const defaultContentPageLayout: PageLayout = {
|
||||||
beforeBody: [
|
beforeBody: [
|
||||||
// Component.Breadcrumbs(),
|
// Component.Breadcrumbs(),
|
||||||
Component.ArticleTitle(),
|
Component.ArticleTitle(),
|
||||||
Component.ContentMeta(),
|
Component.ContentMeta(),
|
||||||
],
|
],
|
||||||
@ -59,15 +59,15 @@ export const defaultContentPageLayout: PageLayout = {
|
|||||||
// from data-category
|
// from data-category
|
||||||
category: 'Announcements',
|
category: 'Announcements',
|
||||||
// from data-category-id
|
// from data-category-id
|
||||||
categoryId: 'DIC_kwDOOHb7a84Cn6os',
|
categoryId: 'DIC_kwDOOHb7a84Cn6os',
|
||||||
themeUrl: "https://enneaa.netlify.app/static/giscus", // corresponds to quartz/static/giscus/
|
themeUrl: "https://www.catmuse.me/static/giscus",
|
||||||
lightTheme: "light", // corresponds to light-theme.css in quartz/static/giscus/
|
lightTheme: "light",
|
||||||
darkTheme: "dark", // corresponds to dark-theme.css quartz/static/giscus/
|
darkTheme: "dark",
|
||||||
mapping: "title",
|
mapping: "title",
|
||||||
inputPosition: "bottom",
|
inputPosition: "bottom",
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
Component.MobileOnly(Component.RecentNotes({
|
Component.MobileOnly(Component.RecentNotes({
|
||||||
title: "最近更新",
|
title: "最近更新",
|
||||||
showTags: false,
|
showTags: false,
|
||||||
limit: 5,
|
limit: 5,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user