-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquartz.config.ts
More file actions
95 lines (93 loc) · 2.44 KB
/
quartz.config.ts
File metadata and controls
95 lines (93 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
import { QuartzConfig } from "./quartz/cfg"
import * as Plugin from "./quartz/plugins"
/**
* Quartz 4 Configuration
*
* See https://quartz.jzhao.xyz/configuration for more information.
*/
const config: QuartzConfig = {
configuration: {
pageTitle: "~/.alanmmolina",
enableSPA: true,
enablePopovers: true,
analytics: {
provider: "plausible",
},
locale: "en-US",
baseUrl: "alanmmolina.com",
ignorePatterns: ["private", "templates", ".obsidian", ".research"],
defaultDateType: "created",
theme: {
fontOrigin: "googleFonts",
cdnCaching: true,
typography: {
header: "Roboto",
body: "Roboto",
code: "Fira Code",
},
colors: {
lightMode: {
light: "#FAF8F8",
lightgray: "#E5E5E5",
gray: "#B8B8B8",
darkgray: "#4E4E4E",
dark: "#2B2B2B",
secondary: "#2B2B2B",
tertiary: "#2B2B2B88",
highlight: "rgba(100, 100, 100, 0.1)",
textHighlight: "#FAFAFA88",
},
darkMode: {
light: "#09090B",
lightgray: "#292929",
gray: "#727272",
darkgray: "#EAEAEA",
dark: "#FAFAFA",
secondary: "#FAFAFA",
tertiary: "#FAFAFA88",
highlight: "rgba(100, 100, 100, 0.1)",
textHighlight: "#FAFAFA88",
},
},
},
},
plugins: {
transformers: [
Plugin.FrontMatter(),
Plugin.CreatedModifiedDate({
priority: ["frontmatter", "git", "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(),
Plugin.Latex({ renderEngine: "katex" }),
],
filters: [Plugin.RemoveDrafts()],
emitters: [
Plugin.AliasRedirects(),
Plugin.ComponentResources(),
Plugin.ContentPage(),
Plugin.FolderPage(),
Plugin.TagPage(),
Plugin.ContentIndex({
enableSiteMap: true,
enableRSS: true,
}),
Plugin.Assets(),
Plugin.Static(),
Plugin.Favicon(),
Plugin.NotFoundPage(),
Plugin.CustomOgImages({colorScheme: "darkMode"}),
],
},
}
export default config