Update quartz.layout.ts

This commit is contained in:
enneaa 2025-03-13 21:41:26 +08:00 committed by GitHub
parent 2602f7f363
commit e8299e2ed2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 })),