| | |
| | | import * as Plugin from "./quartz/plugins" |
| | | |
| | | /** |
| | | * Quartz 4.0 Configuration |
| | | * Quartz 4 Configuration |
| | | * |
| | | * See https://quartz.jzhao.xyz/configuration for more information. |
| | | */ |
| | | const config: QuartzConfig = { |
| | | configuration: { |
| | | pageTitle: "🪴 Quartz 4.0", |
| | | pageTitle: "Quartz 4", |
| | | pageTitleSuffix: "", |
| | | enableSPA: true, |
| | | enablePopovers: true, |
| | | analytics: { |
| | |
| | | secondary: "#284b63", |
| | | tertiary: "#84a59d", |
| | | highlight: "rgba(143, 159, 169, 0.15)", |
| | | textHighlight: "#fff23688", |
| | | }, |
| | | darkMode: { |
| | | light: "#161618", |
| | |
| | | secondary: "#7b97aa", |
| | | tertiary: "#84a59d", |
| | | highlight: "rgba(143, 159, 169, 0.15)", |
| | | textHighlight: "#b3aa0288", |
| | | }, |
| | | }, |
| | | }, |
| | |
| | | transformers: [ |
| | | Plugin.FrontMatter(), |
| | | Plugin.CreatedModifiedDate({ |
| | | priority: ["frontmatter", "filesystem"], |
| | | priority: ["frontmatter", "git", "filesystem"], |
| | | }), |
| | | Plugin.Latex({ renderEngine: "katex" }), |
| | | Plugin.SyntaxHighlighting({ |
| | | theme: { |
| | | light: "github-light", |
| | |
| | | Plugin.TableOfContents(), |
| | | Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }), |
| | | Plugin.Description(), |
| | | Plugin.Latex({ renderEngine: "katex" }), |
| | | ], |
| | | filters: [Plugin.RemoveDrafts()], |
| | | emitters: [ |
| | |
| | | Plugin.Assets(), |
| | | Plugin.Static(), |
| | | Plugin.NotFoundPage(), |
| | | // Comment out CustomOgImages to speed up build time |
| | | Plugin.CustomOgImages(), |
| | | ], |
| | | }, |
| | | } |