diff --git a/.gitignore b/.gitignore index 25d07db..2f3f9fc 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,6 @@ tsconfig.tsbuildinfo private/ .replit replit.nix +/References.bib +content +/static/ diff --git a/content/.gitkeep b/content/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/quartz.config.ts b/quartz.config.ts index dc339d9..9705107 100644 --- a/quartz.config.ts +++ b/quartz.config.ts @@ -6,23 +6,27 @@ import * as Plugin from "./quartz/plugins" * * See https://quartz.jzhao.xyz/configuration for more information. */ + const config: QuartzConfig = { configuration: { - pageTitle: "πŸͺ΄ Quartz 4.0", + pageTitle: "Λ–Β°π“‡ΌπŸŒŠβ‹†πŸšπŸ«§ My Thought Ocean", pageTitleSuffix: "", - enableSPA: true, + enableSPA: false, enablePopovers: true, - analytics: { - provider: "plausible", - }, + analytics: null, locale: "en-US", - baseUrl: "quartz.jzhao.xyz", + baseUrl: "cosmicflow.space/exocortex/", ignorePatterns: ["private", "templates", ".obsidian"], defaultDateType: "created", - generateSocialImages: false, + generateSocialImages: { + colorScheme: "darkMode", // what colors to use for generating image, same as theme colors from config, valid values are "darkMode" and "lightMode" + width: 1200, // width to generate with (in pixels) + height: 630, // height to generate with (in pixels) + excludeRoot: false, // wether to exclude "/" index path to be excluded from auto generated images (false = use auto, true = use default og image) +}, theme: { fontOrigin: "googleFonts", - cdnCaching: true, + cdnCaching: false, typography: { header: "Schibsted Grotesk", body: "Source Sans Pro", @@ -30,18 +34,26 @@ const config: QuartzConfig = { }, colors: { lightMode: { - light: "#faf8f8", + // light: "#faf8f8", + light: "#304555", lightgray: "#e5e5e5", gray: "#b8b8b8", - darkgray: "#4e4e4e", + // darkgray: "#4e4e4e", dark: "#2b2b2b", - secondary: "#284b63", + //secondary: "#284b63", + // tertiary: "#84a59d", + // highlight: "rgba(143, 159, 169, 0.15)", + // textHighlight: "#fff23688", + darkgray: "#d4d4d4", + // dark: "#ebebec", + secondary: "#7b97aa", tertiary: "#84a59d", - highlight: "rgba(143, 159, 169, 0.15)", - textHighlight: "#fff23688", + highlight: "rgba(169, 109, 60, 0.15)", + textHighlight: "#b3aa0288", }, darkMode: { - light: "#161618", + // light: "#161618", + light: "#203545", lightgray: "#393639", gray: "#646464", darkgray: "#d4d4d4", @@ -57,22 +69,23 @@ const config: QuartzConfig = { plugins: { transformers: [ Plugin.FrontMatter(), - Plugin.CreatedModifiedDate({ - priority: ["frontmatter", "filesystem"], - }), Plugin.SyntaxHighlighting({ theme: { - light: "github-light", dark: "github-dark", + // light: "github-light", + light: "ayu-dark", }, - keepBackground: false, + keepBackground: true, }), Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }), Plugin.GitHubFlavoredMarkdown(), + Plugin.OxHugoFlavouredMarkdown(), Plugin.TableOfContents(), - Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }), + Plugin.Citations({ + bibliographyFile: "./References.bib"}), + Plugin.CrawlLinks({ markdownLinkResolution: "absolute"}), Plugin.Description(), - Plugin.Latex({ renderEngine: "katex" }), + // Plugin.Latex({ renderEngine: "katex" }), ], filters: [Plugin.RemoveDrafts()], emitters: [ diff --git a/quartz.layout.ts b/quartz.layout.ts index f45da0c..4bff593 100644 --- a/quartz.layout.ts +++ b/quartz.layout.ts @@ -8,8 +8,8 @@ export const sharedPageComponents: SharedLayout = { afterBody: [], footer: Component.Footer({ links: { - GitHub: "https://github.com/jackyzha0/quartz", - "Discord Community": "https://discord.gg/cRFFHYye7t", + Home: "https://cosmicflow.space", + "Git": "https://cosmicflow.space:3030", }, }), } @@ -26,7 +26,7 @@ export const defaultContentPageLayout: PageLayout = { Component.PageTitle(), Component.MobileOnly(Component.Spacer()), Component.Search(), - Component.Darkmode(), + // Component.Darkmode(), Component.Explorer(), ], right: [ @@ -43,7 +43,7 @@ export const defaultListPageLayout: PageLayout = { Component.PageTitle(), Component.MobileOnly(Component.Spacer()), Component.Search(), - Component.Darkmode(), + // Component.Darkmode(), Component.Explorer(), ], right: [], diff --git a/quartz/components/Footer.tsx b/quartz/components/Footer.tsx index cff28cb..1ce8778 100644 --- a/quartz/components/Footer.tsx +++ b/quartz/components/Footer.tsx @@ -13,17 +13,20 @@ export default ((opts?: Options) => { const links = opts?.links ?? [] return ( ) } diff --git a/quartz/static/org-mode-unicorn.svg b/quartz/static/org-mode-unicorn.svg new file mode 100644 index 0000000..2bbcae1 --- /dev/null +++ b/quartz/static/org-mode-unicorn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/quartz/static/icon.png b/quartz/static/quartz-icon.png similarity index 100% rename from quartz/static/icon.png rename to quartz/static/quartz-icon.png