rizaldy.club/quartz.config.ts
rizaldy c478e7a464
All checks were successful
deploy / build (push) Successful in 12m40s
feat: update to v4.3.1
2024-08-26 02:13:42 +07:00

99 lines
2.5 KiB
TypeScript

import { QuartzConfig } from "./quartz/cfg"
import * as Plugin from "./quartz/plugins"
/**
* Quartz 4.0 Configuration
*
* See https://quartz.jzhao.xyz/configuration for more information.
*/
const config: QuartzConfig = {
configuration: {
pageTitle: "🌲 rizaldy.club",
enableSPA: true,
enablePopovers: true,
analytics: {
provider: "umami",
host: "https://u.rizaldy.club",
websiteId: "638bda2c-2261-4b1f-bb55-c494d87bfb7d"
},
locale: "en-US",
baseUrl: "rizaldy.club",
ignorePatterns: ["private", "templates", ".obsidian"],
defaultDateType: "created",
theme: {
fontOrigin: "googleFonts",
cdnCaching: false,
typography: {
header: "Space Grotesk",
body: "Atkinson Hyperlegible",
code: "JetBrains Mono",
},
colors: {
lightMode: {
light: "#000000",
lightgray: "#393639",
gray: "#646464",
darkgray: "#a1a1a6",
dark: "#ebebec",
secondary:"#f5f5f7",
tertiary: "#a1a1a1",
highlight: "rgba(143, 159, 169, 0.15)",
textHighlight: "#fff23688",
},
darkMode: {
light: "#161618",
lightgray: "#393639",
gray: "#646464",
darkgray: "#d4d4d4",
dark: "#ebebec",
secondary:"#ffffff",
tertiary: "#ffffff",
highlight: "rgba(143, 159, 169, 0.15)",
textHighlight: "#b3aa0288",
},
},
},
},
plugins: {
transformers: [
Plugin.FrontMatter(),
Plugin.CreatedModifiedDate({
priority: ["frontmatter", "filesystem"],
}),
Plugin.SyntaxHighlighting({
theme: {
light: "github-light",
dark: "github-dark",
},
keepBackground: false,
}),
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
Plugin.GitHubFlavoredMarkdown(),
Plugin.TableOfContents(),
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
Plugin.Description(),
Plugin.Latex({ renderEngine: "katex" }),
],
filters: [Plugin.RemoveDrafts()],
emitters: [
Plugin.AliasRedirects(),
Plugin.ComponentResources(),
Plugin.ContentPage(),
Plugin.ContentIndex({
rssFullHtml: true
}),
Plugin.FolderPage(),
Plugin.TagPage(),
Plugin.ContentIndex({
enableSiteMap: true,
enableRSS: true,
}),
Plugin.Assets(),
Plugin.Static(),
Plugin.NotFoundPage(),
],
},
}
export default config