95 lines
2.4 KiB
TypeScript
95 lines
2.4 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: {
|
|
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)",
|
|
},
|
|
darkMode: {
|
|
light: "#161618",
|
|
lightgray: "#393639",
|
|
gray: "#646464",
|
|
darkgray: "#d4d4d4",
|
|
dark: "#ebebec",
|
|
secondary:"#ffffff",
|
|
tertiary: "#ffffff",
|
|
highlight: "rgba(143, 159, 169, 0.15)",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
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(),
|
|
],
|
|
filters: [Plugin.RemoveDrafts()],
|
|
emitters: [
|
|
Plugin.AliasRedirects(),
|
|
Plugin.ComponentResources({ fontOrigin: "googleFonts" }),
|
|
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
|