From 2aed6317f0d4339b4148263b1a5f83ef5fd543f9 Mon Sep 17 00:00:00 2001 From: enneaa Date: Tue, 18 Mar 2025 19:48:58 +0800 Subject: [PATCH] Update quartz.config.ts --- quartz.config.ts | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/quartz.config.ts b/quartz.config.ts index 41e62c6e2..4b042652d 100644 --- a/quartz.config.ts +++ b/quartz.config.ts @@ -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(),