import { QuartzConfig } from "./quartz/cfg" import * as Plugin from "./quartz/plugins" /** * Quartz 4 Configuration * * See https://quartz.jzhao.xyz/configuration for more information. */ const config: QuartzConfig = { configuration: { pageTitle: "Palace Fund", pageTitleSuffix: "", enableSPA: true, enablePopovers: true, analytics: null, locale: "en-US", baseUrl: "palace.fund", ignorePatterns: ["private", "templates", ".obsidian"], defaultDateType: "modified", theme: { fontOrigin: "googleFonts", cdnCaching: true, typography: { header: "Schibsted Grotesk", body: "Source Sans Pro", code: "IBM Plex Mono", }, colors: { lightMode: { light: "#f6f6f6", lightgray: "#e0e0e0", gray: "#bdbdbd", darkgray: "#5c5c5c", dark: "#222222", secondary: "#8a5cf5", tertiary: "#a8c181", highlight: "rgba(138, 92, 245, 0.1)", textHighlight: "rgba(255, 208, 0, 0.4)", }, darkMode: { light: "#232a2e", lightgray: "#343f44", gray: "#475258", darkgray: "#9da9a0", dark: "#d3c6aa", secondary: "#a8c181", tertiary: "#83c092", highlight: "rgba(168, 193, 129, 0.1)", textHighlight: "#543a4888", }, }, }, }, plugins: { transformers: [ Plugin.FrontMatter(), Plugin.CreatedModifiedDate({ priority: ["frontmatter", "git", "filesystem"], }), Plugin.SyntaxHighlighting({ theme: { light: "github-light", dark: "github-dark", }, keepBackground: false, }), Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }), Plugin.GitHubFlavoredMarkdown({ linkHeadings: false }), Plugin.TableOfContents(), Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }), Plugin.Description(), Plugin.Latex({ renderEngine: "katex" }), ], filters: [Plugin.RemoveDrafts()], emitters: [ Plugin.AliasRedirects(), Plugin.ComponentResources(), Plugin.ContentPage(), Plugin.FolderPage(), Plugin.TagPage(), Plugin.ContentIndex({ enableSiteMap: true, enableRSS: true, }), Plugin.Assets(), Plugin.Static(), Plugin.Favicon(), Plugin.NotFoundPage(), // Comment out CustomOgImages to speed up build time Plugin.CustomOgImages(), ], }, } export default config