mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 15:05:42 -05:00
Quartz sync: Jun 2, 2024, 6:55 PM
This commit is contained in:
parent
e067bbf287
commit
cd175bd016
2
.gitignore
vendored
2
.gitignore
vendored
@ -9,3 +9,5 @@ tsconfig.tsbuildinfo
|
|||||||
private/
|
private/
|
||||||
.replit
|
.replit
|
||||||
replit.nix
|
replit.nix
|
||||||
|
.got/
|
||||||
|
.vscode/
|
||||||
180
quartz.config.ts
180
quartz.config.ts
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user