diff --git a/quartz.config.ts b/quartz.config.ts index 80ebf7ed1..1b5677af1 100644 --- a/quartz.config.ts +++ b/quartz.config.ts @@ -11,16 +11,14 @@ const config: QuartzConfig = { pageTitle: "🌱 oldwinterの数字花园", enableSPA: true, enablePopovers: true, - analytics: { - provider: "plausible", - }, - locale: "en-US", + analytics: null, + locale: "zh-CN", baseUrl: "garden.oldwinter.top", ignorePatterns: ["private", "templates", ".obsidian","Atlas","Calendar","Cards", "Extras","Sources", "Spaces"], - defaultDateType: "created", + defaultDateType: "modified", theme: { fontOrigin: "googleFonts", - cdnCaching: true, + cdnCaching: false, typography: { header: "Schibsted Grotesk", body: "Source Sans Pro", @@ -70,7 +68,10 @@ const config: QuartzConfig = { Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }), Plugin.Description(), ], - filters: [Plugin.RemoveDrafts()], + filters: [ + Plugin.RemoveDrafts(), + Plugin.ExplicitPublish() + ], emitters: [ Plugin.AliasRedirects(), Plugin.ComponentResources(), diff --git a/quartz.layout.ts b/quartz.layout.ts index b5a1639eb..59bc8af3f 100644 --- a/quartz.layout.ts +++ b/quartz.layout.ts @@ -27,6 +27,7 @@ export const defaultContentPageLayout: PageLayout = { Component.Search(), Component.Darkmode(), Component.DesktopOnly(Component.Explorer()), + Component.RecentNotes({ limit: 5 }), ], right: [ Component.Graph(), @@ -44,6 +45,7 @@ export const defaultListPageLayout: PageLayout = { Component.Search(), Component.Darkmode(), Component.DesktopOnly(Component.Explorer()), + Component.RecentNotes({ limit: 5 }), ], right: [], }