| | |
| | | |
| | | const config: QuartzConfig = { |
| | | configuration: { |
| | | siteTitle: "🪴 Quartz 4.0", |
| | | enableSPA: true, |
| | | ignorePatterns: ["private", "templates"], |
| | | theme: { |
| | |
| | | plugins: { |
| | | transformers: [ |
| | | Plugin.FrontMatter(), |
| | | Plugin.Description(), |
| | | Plugin.TableOfContents(), |
| | | Plugin.CreatedModifiedDate({ |
| | | priority: ['frontmatter', 'filesystem'] // you can add 'git' here for last modified from Git but this makes the build slower |
| | | }), |
| | | Plugin.GitHubFlavoredMarkdown(), |
| | | Plugin.ObsidianFlavoredMarkdown(), |
| | | Plugin.ResolveLinks(), |
| | | Plugin.GitHubFlavoredMarkdown(), |
| | | Plugin.CrawlLinks(), |
| | | Plugin.SyntaxHighlighting(), |
| | | Plugin.Katex(), |
| | | Plugin.Description(), |
| | | ], |
| | | filters: [ |
| | | Plugin.RemoveDrafts() |
| | |
| | | Plugin.AliasRedirects(), |
| | | Plugin.ContentPage({ |
| | | head: Component.Head(), |
| | | header: [Component.PageTitle(), Component.Spacer(), Component.Darkmode()], |
| | | body: [ |
| | | header: [ |
| | | Component.PageTitle({ title: "🪴 Quartz 4.0" }), |
| | | Component.Spacer(), |
| | | Component.Search(), |
| | | Component.Darkmode() |
| | | ], |
| | | beforeBody: [ |
| | | Component.ArticleTitle(), |
| | | Component.ReadingTime(), |
| | | Component.TagList(), |
| | | Component.TableOfContents(), |
| | | Component.Content() |
| | | ], |
| | | left: [], |
| | | right: [], |
| | | content: Component.Content(), |
| | | left: [ |
| | | ], |
| | | right: [ |
| | | Component.Graph(), |
| | | Component.TableOfContents(), |
| | | Component.Backlinks() |
| | | ], |
| | | footer: [] |
| | | }), |
| | | Plugin.ContentIndex(), // you can exclude this if you don't plan on using popovers, graph, or backlinks, |