Update quartz.config.ts

This commit is contained in:
enneaa 2025-03-18 19:48:58 +08:00 committed by GitHub
parent 8104a23887
commit 2aed6317f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,44 +8,44 @@ 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: "enneaa.github.io", 
locale: "zh-CN", 
baseUrl: "enneaa.netlify.app",  
ignorePatterns: ["private", "templates", ".obsidian"], 
defaultDateType: "created",
theme: {
fontOrigin: "googleFonts",
cdnCaching: true,
typography: {
header: "Schibsted Grotesk",
header: "Noto Serif SC", 
body: "Source Sans Pro",
code: "IBM Plex Mono",
},
colors: {
lightMode: {
light: "#faf8f8",
lightgray: "#e5e5e5",
gray: "#b8b8b8",
darkgray: "#4e4e4e",
dark: "#2b2b2b",
secondary: "#284b63",
light: "rgb(255, 252, 240)",
lightgray: "rgb(242, 240, 229)",
gray: "#9c9384",
darkgray: "#2A354B",
dark: "#08142C",
secondary: "#274B75",
tertiary: "#84a59d",
highlight: "rgba(143, 159, 169, 0.15)",
textHighlight: "#fff23688",
},
darkMode: {
light: "#161618",
lightgray: "#393639",
gray: "#646464",
light: "#0c0f14",
lightgray: "#1D232D",
gray: "#5A657B",
darkgray: "#d4d4d4",
dark: "#ebebec",
secondary: "#7b97aa",
secondary: "#7188A9",
tertiary: "#84a59d",
highlight: "rgba(143, 159, 169, 0.15)",
textHighlight: "#b3aa0288",
@ -69,7 +69,12 @@ const config: QuartzConfig = {
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
Plugin.GitHubFlavoredMarkdown(),
Plugin.TableOfContents(),
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
Plugin.CrawlLinks({
markdownLinkResolution: "shortest",  
lazyLoad: true,
openLinksInNewTab: true,
prettyLinks: true,
}),
Plugin.Description(),
Plugin.Latex({ renderEngine: "katex" }),
],
@ -80,8 +85,8 @@ const config: QuartzConfig = {
Plugin.ContentPage(),
Plugin.FolderPage(),
Plugin.TagPage(),
Plugin.ContentIndex({
enableSiteMap: true,
Plugin.ContentIndex({ 
enableSiteMap: true, 
enableRSS: true,
}),
Plugin.Assets(),