diff --git a/content/.gitkeep b/content/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/content/index.md b/content/index.md new file mode 100644 index 000000000..2bdfd8337 --- /dev/null +++ b/content/index.md @@ -0,0 +1,6 @@ +--- +title: Welcome to Quartz +--- + +This is a blank Quartz installation. +See the [documentation](https://quartz.jzhao.xyz) for how to get started. diff --git a/quartz.config.ts b/quartz.config.ts index fa08723e9..7a64acf2d 100644 --- a/quartz.config.ts +++ b/quartz.config.ts @@ -8,7 +8,7 @@ import * as Plugin from "./quartz/plugins" */ const config: QuartzConfig = { configuration: { - pageTitle: "🪴 Quartz 4.0", + pageTitle: "notes.justin.vc", enableSPA: true, enablePopovers: true, analytics: { @@ -38,14 +38,14 @@ const config: QuartzConfig = { highlight: "rgba(143, 159, 169, 0.15)", }, darkMode: { - light: "#161618", - lightgray: "#393639", - gray: "#646464", - darkgray: "#d4d4d4", - dark: "#ebebec", - secondary: "#7b97aa", - tertiary: "#84a59d", - highlight: "rgba(143, 159, 169, 0.15)", + light: "#282a36", // background color + lightgray: "#44475a", // current line + gray: "#6272a4", // comment + darkgray: "#f8f8f2", // foreground text + dark: "#f8f8f2", // selection background + secondary: "#bd93f9", // purple + tertiary: "#ff79c6", // pink + highlight: "rgba(98, 114, 164, 0.15)", // subtle highlight }, }, }, diff --git a/quartz/components/Head.tsx b/quartz/components/Head.tsx index 46ba5e002..f3e7a61d0 100644 --- a/quartz/components/Head.tsx +++ b/quartz/components/Head.tsx @@ -15,7 +15,7 @@ export default (() => { const path = url.pathname as FullSlug const baseDir = fileData.slug === "404" ? path : pathToRoot(fileData.slug!) - const iconPath = joinSegments(baseDir, "static/icon.png") + const iconPath = joinSegments(baseDir, "static/favicon.ico") const ogImagePath = `https://${cfg.baseUrl}/static/og-image.png` return ( diff --git a/quartz/content/index.md b/quartz/content/index.md new file mode 100644 index 000000000..2bdfd8337 --- /dev/null +++ b/quartz/content/index.md @@ -0,0 +1,6 @@ +--- +title: Welcome to Quartz +--- + +This is a blank Quartz installation. +See the [documentation](https://quartz.jzhao.xyz) for how to get started. diff --git a/quartz/plugins/transformers/ofm.ts b/quartz/plugins/transformers/ofm.ts index 925d21e0d..753320e59 100644 --- a/quartz/plugins/transformers/ofm.ts +++ b/quartz/plugins/transformers/ofm.ts @@ -9,9 +9,9 @@ import path from "path" import { splitAnchor } from "../../util/path" import { JSResource } from "../../util/resources" // @ts-ignore -import calloutScript from "../../components/scripts/callout.inline.ts" +import calloutScript from "../../components/scripts/callout.inline" // @ts-ignore -import checkboxScript from "../../components/scripts/checkbox.inline.ts" +import checkboxScript from "../../components/scripts/checkbox.inline" import { FilePath, pathToRoot, slugTag, slugifyFilePath } from "../../util/path" import { toHast } from "mdast-util-to-hast" import { toHtml } from "hast-util-to-html" diff --git a/quartz/static/favicon.ico b/quartz/static/favicon.ico new file mode 100755 index 000000000..6cbe80435 Binary files /dev/null and b/quartz/static/favicon.ico differ diff --git a/quartz/static/icon.png b/quartz/static/icon.png deleted file mode 100644 index b6656a7a8..000000000 Binary files a/quartz/static/icon.png and /dev/null differ diff --git a/quartz/static/og-image.png b/quartz/static/og-image.png deleted file mode 100644 index f1321455b..000000000 Binary files a/quartz/static/og-image.png and /dev/null differ