Quartz sync: Jun 2, 2024, 6:55 PM

This commit is contained in:
Rami Maalouf 2024-06-02 18:55:23 -04:00
parent e067bbf287
commit cd175bd016
No known key found for this signature in database
3 changed files with 99 additions and 83 deletions

2
.gitignore vendored
View File

@ -9,3 +9,5 @@ tsconfig.tsbuildinfo
private/ private/
.replit .replit
replit.nix replit.nix
.got/
.vscode/

View File

View File

@ -1,5 +1,5 @@
import { QuartzConfig } from "./quartz/cfg" import { QuartzConfig } from "./quartz/cfg";
import * as Plugin from "./quartz/plugins" import * as Plugin from "./quartz/plugins";
/** /**
* Quartz 4.0 Configuration * Quartz 4.0 Configuration
@ -7,85 +7,99 @@ import * as Plugin from "./quartz/plugins"
* See https://quartz.jzhao.xyz/configuration for more information. * See https://quartz.jzhao.xyz/configuration for more information.
*/ */
const config: QuartzConfig = { const config: QuartzConfig = {
configuration: { configuration: {
pageTitle: "Welcome To Rami's Universe", pageTitle: "Welcome To Rami's Universe",
enableSPA: true, enableSPA: true,
enablePopovers: true, enablePopovers: true,
analytics: { analytics: {
provider: "plausible", provider: "plausible",
}, },
locale: "en-US", locale: "en-US",
baseUrl: "quartz.jzhao.xyz", baseUrl: "",
ignorePatterns: ["private", "templates", ".obsidian", "Hidden", "My Calendar", "My Social Circle", "USV", "My Goals", "My Projects", "My Files", "My Input Collections", "My Kanbans", "My Views"], ignorePatterns: [
defaultDateType: "created", "private",
theme: { "templates",
fontOrigin: "googleFonts", ".obsidian",
cdnCaching: true, "Hidden",
typography: { "My Calendar",
header: "Schibsted Grotesk", "My Social Circle",
body: "Source Sans Pro", "USV",
code: "IBM Plex Mono", "My Goals",
}, "My Projects",
colors: { "My Files",
lightMode: { "My Input Collections",
light: "#faf8f8", "My Kanbans",
lightgray: "#e5e5e5", "My Views",
gray: "#b8b8b8", ],
darkgray: "#4e4e4e", defaultDateType: "created",
dark: "#2b2b2b", theme: {
secondary: "#284b63", fontOrigin: "googleFonts",
tertiary: "#84a59d", cdnCaching: true,
highlight: "rgba(143, 159, 169, 0.15)", typography: {
}, header: "Schibsted Grotesk",
darkMode: { body: "Source Sans Pro",
light: "#161618", code: "IBM Plex Mono",
lightgray: "#393639", },
gray: "#646464", colors: {
darkgray: "#d4d4d4", lightMode: {
dark: "#ebebec", light: "#faf8f8",
secondary: "#7b97aa", lightgray: "#e5e5e5",
tertiary: "#84a59d", gray: "#b8b8b8",
highlight: "rgba(143, 159, 169, 0.15)", darkgray: "#4e4e4e",
}, dark: "#2b2b2b",
}, secondary: "#284b63",
}, tertiary: "#84a59d",
}, highlight: "rgba(143, 159, 169, 0.15)",
plugins: { },
transformers: [ darkMode: {
Plugin.FrontMatter(), light: "#161618",
Plugin.CreatedModifiedDate({ lightgray: "#393639",
priority: ["frontmatter", "filesystem"], gray: "#646464",
}), darkgray: "#d4d4d4",
Plugin.SyntaxHighlighting({ dark: "#ebebec",
theme: { secondary: "#7b97aa",
light: "github-light", tertiary: "#84a59d",
dark: "github-dark", highlight: "rgba(143, 159, 169, 0.15)",
}, },
keepBackground: false, },
}), },
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }), },
Plugin.GitHubFlavoredMarkdown(), plugins: {
Plugin.TableOfContents(), transformers: [
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }), Plugin.FrontMatter(),
Plugin.Description(), Plugin.CreatedModifiedDate({
Plugin.Latex({ renderEngine: "katex" }), priority: ["frontmatter", "filesystem"],
], }),
filters: [Plugin.RemoveDrafts()], Plugin.SyntaxHighlighting({
emitters: [ theme: {
Plugin.AliasRedirects(), light: "github-light",
Plugin.ComponentResources(), dark: "github-dark",
Plugin.ContentPage(), },
Plugin.FolderPage(), keepBackground: false,
Plugin.TagPage(), }),
Plugin.ContentIndex({ Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
enableSiteMap: true, Plugin.GitHubFlavoredMarkdown(),
enableRSS: true, Plugin.TableOfContents(),
}), Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
Plugin.Assets(), Plugin.Description(),
Plugin.Static(), Plugin.Latex({ renderEngine: "katex" }),
Plugin.NotFoundPage(), ],
], 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.NotFoundPage(),
],
},
};
export default config export default config;