| | |
| | | const sharedPageComponents = { |
| | | head: Component.Head(), |
| | | header: [ |
| | | Component.PageTitle({ title: "🪴 Quartz 4.0" }), |
| | | Component.PageTitle(), |
| | | Component.Spacer(), |
| | | Component.Search(), |
| | | Component.Darkmode() |
| | |
| | | |
| | | const config: QuartzConfig = { |
| | | configuration: { |
| | | pageTitle: "🪴 Quartz 4.0", |
| | | enableSPA: true, |
| | | enablePopovers: true, |
| | | canonicalUrl: "quartz.jzhao.xyz", |
| | | ignorePatterns: ["private", "templates"], |
| | | theme: { |
| | | typography: { // loaded from Google Fonts |
| | |
| | | Plugin.Description(), |
| | | ], |
| | | filters: [ |
| | | Plugin.RemoveDrafts() |
| | | Plugin.RemoveDrafts(), |
| | | ], |
| | | emitters: [ |
| | | Plugin.AliasRedirects(), |
| | |
| | | ...listPageLayout, |
| | | pageBody: Component.FolderContent(), |
| | | }), |
| | | Plugin.ContentIndex(), // you can exclude this if you don't plan on using popovers, graph view, or backlinks |
| | | Plugin.CNAME({ domain: "quartz.jzhao.xyz" }) // set this to your final deployed domain |
| | | Plugin.ContentIndex({ |
| | | enableSiteMap: true, |
| | | enableRSS: true, |
| | | }), |
| | | ] |
| | | }, |
| | | } |