From e8299e2ed2a0fd19f6d13dcafd7488d5a2da56ac Mon Sep 17 00:00:00 2001 From: enneaa Date: Thu, 13 Mar 2025 21:41:26 +0800 Subject: [PATCH] Update quartz.layout.ts --- quartz.layout.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/quartz.layout.ts b/quartz.layout.ts index 19a5d80cd..6f27f6954 100644 --- a/quartz.layout.ts +++ b/quartz.layout.ts @@ -23,7 +23,7 @@ export const defaultContentPageLayout: PageLayout = {    ], left: [ Component.PageTitle(),   - Component.MobileOnly(Component.Spacer()),   + // Component.MobileOnly(Component.Spacer()),   Component.Flex({  components: [  { @@ -53,9 +53,9 @@ export const defaultContentPageLayout: PageLayout = {    category: 'Announcements', // from data-category-id categoryId: 'DIC_kwDOOHb7a84Cn6os', - themeUrl: "https://enneaaa.netlify.app/static/giscus", - lightTheme: "light-theme", - darkTheme: "dark-theme", + themeUrl: "https://enneaaa.netlify.app/static/giscus", // corresponds to quartz/static/giscus/ + lightTheme: "light-theme", // corresponds to light-theme.css in quartz/static/giscus/ + darkTheme: "dark-theme", // corresponds to dark-theme.css quartz/static/giscus/ } }), ], @@ -66,7 +66,7 @@ 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.DesktopOnly(Component.RecentNotes({ limit: 3, showTags: false })),