2024-09-02 08:40:46 +03:00
|
|
|
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: {
|
2024-09-02 21:35:14 +03:00
|
|
|
pageTitle: "Struchkov's Garden 🪴",
|
2024-09-02 08:40:46 +03:00
|
|
|
enableSPA: false,
|
|
|
|
enablePopovers: true,
|
|
|
|
locale: "ru-RU",
|
2024-09-04 22:06:24 +03:00
|
|
|
baseUrl: "garden.struchkov.dev/ru",
|
2024-09-02 08:40:46 +03:00
|
|
|
ignorePatterns: ["private", "templates", ".obsidian"],
|
2024-09-04 22:06:24 +03:00
|
|
|
defaultDateType: "modified",
|
2024-09-02 08:40:46 +03:00
|
|
|
theme: {
|
|
|
|
fontOrigin: "googleFonts",
|
|
|
|
cdnCaching: true,
|
|
|
|
typography: {
|
2024-09-05 02:29:45 +03:00
|
|
|
header: "Schibsted Grotesk",
|
2024-09-04 23:06:10 +03:00
|
|
|
body: "Inter",
|
2024-09-02 08:40:46 +03:00
|
|
|
code: "IBM Plex Mono",
|
|
|
|
},
|
|
|
|
colors: {
|
|
|
|
lightMode: {
|
|
|
|
light: "#faf8f8",
|
|
|
|
lightgray: "#e5e5e5",
|
|
|
|
gray: "#b8b8b8",
|
2024-09-04 23:06:10 +03:00
|
|
|
darkgray: "#292929",
|
2024-09-02 08:40:46 +03:00
|
|
|
dark: "#2b2b2b",
|
2024-09-04 20:41:49 +03:00
|
|
|
secondary: "#2c678d",
|
2024-09-02 08:40:46 +03:00
|
|
|
tertiary: "#84a59d",
|
2024-09-04 23:06:10 +03:00
|
|
|
highlight: "rgba(0, 80, 219, 0.15)",
|
2024-09-02 08:40:46 +03:00
|
|
|
textHighlight: "#fff23688",
|
|
|
|
},
|
|
|
|
darkMode: {
|
|
|
|
light: "#161618",
|
|
|
|
lightgray: "#393639",
|
|
|
|
gray: "#646464",
|
|
|
|
darkgray: "#d4d4d4",
|
|
|
|
dark: "#ebebec",
|
|
|
|
secondary: "#7b97aa",
|
|
|
|
tertiary: "#84a59d",
|
|
|
|
highlight: "rgba(143, 159, 169, 0.15)",
|
|
|
|
textHighlight: "#b3aa0288",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
plugins: {
|
|
|
|
transformers: [
|
|
|
|
Plugin.FrontMatter(),
|
|
|
|
Plugin.CreatedModifiedDate({
|
2024-09-04 23:29:33 +03:00
|
|
|
priority: ["git", "frontmatter"],
|
2024-09-02 08:40:46 +03:00
|
|
|
}),
|
|
|
|
Plugin.SyntaxHighlighting({
|
|
|
|
theme: {
|
2024-09-05 00:46:14 +03:00
|
|
|
light: "github-light",
|
2024-09-04 23:06:10 +03:00
|
|
|
dark: "vitesse-dark",
|
2024-09-02 08:40:46 +03:00
|
|
|
},
|
|
|
|
keepBackground: false,
|
|
|
|
}),
|
2024-09-04 20:31:12 +03:00
|
|
|
Plugin.HardLineBreaks(),
|
2024-09-02 08:40:46 +03:00
|
|
|
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
|
|
|
|
Plugin.GitHubFlavoredMarkdown(),
|
|
|
|
Plugin.TableOfContents(),
|
2024-09-04 20:42:47 +03:00
|
|
|
Plugin.CrawlLinks({ markdownLinkResolution: "relative", lazyLoad: true }),
|
2024-09-02 08:40:46 +03:00
|
|
|
Plugin.Description(),
|
|
|
|
],
|
|
|
|
filters: [Plugin.RemoveDrafts()],
|
|
|
|
emitters: [
|
|
|
|
Plugin.AliasRedirects(),
|
|
|
|
Plugin.ComponentResources(),
|
|
|
|
Plugin.ContentPage(),
|
|
|
|
Plugin.FolderPage(),
|
2024-09-06 00:46:35 +03:00
|
|
|
Plugin.TagPage(),
|
2024-09-02 08:40:46 +03:00
|
|
|
Plugin.ContentIndex({
|
|
|
|
enableSiteMap: true,
|
|
|
|
enableRSS: true,
|
|
|
|
}),
|
|
|
|
Plugin.Assets(),
|
|
|
|
Plugin.Static(),
|
|
|
|
Plugin.NotFoundPage(),
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}
|
|
|
|
export default config
|