Update quartz.config.ts

This commit is contained in:
enneaa 2025-03-12 21:49:55 +08:00 committed by GitHub
parent 5f1f8356a5
commit 9e0a700600
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,15 +8,15 @@ import * as Plugin from "./quartz/plugins"
*/
const config: QuartzConfig = {
configuration: {
pageTitle: "Quartz 4",
pageTitle: "是話說", 
pageTitleSuffix: "",
enableSPA: true,
enablePopovers: true,
analytics: {
provider: "plausible",
},
locale: "en-US",
baseUrl: "quartz.jzhao.xyz",
locale: "zh-CN", 
baseUrl: "enneaaa.netlify.app", 
ignorePatterns: ["private", "templates", ".obsidian"],
defaultDateType: "created",
generateSocialImages: true,
@ -24,7 +24,7 @@ const config: QuartzConfig = {
fontOrigin: "googleFonts",
cdnCaching: true,
typography: {
header: "Schibsted Grotesk",
header: "Schibsted Grotesk", 
body: "Source Sans Pro",
code: "IBM Plex Mono",
},
@ -65,12 +65,12 @@ const config: QuartzConfig = {
light: "github-light",
dark: "github-dark",
},
keepBackground: false,
keepBackground: false, 
}),
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
Plugin.GitHubFlavoredMarkdown(),
Plugin.TableOfContents(),
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
Plugin.CrawlLinks({ markdownLinkResolution: "relative", lazyLoad: true }), 
Plugin.Description(),
Plugin.Latex({ renderEngine: "katex" }),
],