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
2602f7f363
commit
e8299e2ed2
@ -23,7 +23,7 @@ export const defaultContentPageLayout: PageLayout = {
|
|||||||
],
|
],
|
||||||
left: [
|
left: [
|
||||||
Component.PageTitle(),
|
Component.PageTitle(),
|
||||||
Component.MobileOnly(Component.Spacer()),
|
// Component.MobileOnly(Component.Spacer()),
|
||||||
Component.Flex({
|
Component.Flex({
|
||||||
components: [
|
components: [
|
||||||
{
|
{
|
||||||
@ -53,9 +53,9 @@ export const defaultContentPageLayout: PageLayout = {
|
|||||||
category: 'Announcements',
|
category: 'Announcements',
|
||||||
// from data-category-id
|
// from data-category-id
|
||||||
categoryId: 'DIC_kwDOOHb7a84Cn6os',
|
categoryId: 'DIC_kwDOOHb7a84Cn6os',
|
||||||
themeUrl: "https://enneaaa.netlify.app/static/giscus",
|
themeUrl: "https://enneaaa.netlify.app/static/giscus", // corresponds to quartz/static/giscus/
|
||||||
lightTheme: "light-theme",
|
lightTheme: "light-theme", // corresponds to light-theme.css in quartz/static/giscus/
|
||||||
darkTheme: "dark-theme",
|
darkTheme: "dark-theme", // corresponds to dark-theme.css quartz/static/giscus/
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
@ -66,7 +66,7 @@ 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.DesktopOnly(Component.RecentNotes({ limit: 3, showTags: false })),
|
Component.DesktopOnly(Component.RecentNotes({ limit: 3, showTags: false })),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user