enable all plugins

This commit is contained in:
semanticdata 2024-04-22 13:44:29 -05:00
parent b9775110fc
commit 09b6f76bdd
3 changed files with 13 additions and 14 deletions

3
.gitignore vendored
View File

@ -4,9 +4,8 @@
.quartz-cache .quartz-cache
.replit .replit
node_modules node_modules
private/ private
prof prof
public public
quartz/.quartz-cache
replit.nix replit.nix
tsconfig.tsbuildinfo tsconfig.tsbuildinfo

View File

@ -1,4 +1,5 @@
public
node_modules
.quartz-cache .quartz-cache
pnpm-lock.yaml node_modules
package-lock.json
pnpm-lock.yaml
public

View File

@ -1,9 +1,8 @@
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
*
* See https://quartz.jzhao.xyz/configuration for more information. * See https://quartz.jzhao.xyz/configuration for more information.
*/ */
const config: QuartzConfig = { const config: QuartzConfig = {
@ -16,26 +15,26 @@ const config: QuartzConfig = {
}, },
locale: "en-US", locale: "en-US",
baseUrl: "forgetfulnotes.com", baseUrl: "forgetfulnotes.com",
ignorePatterns: ["private", "templates"], ignorePatterns: ["private", "templates", ".obsidian"],
defaultDateType: "modified", defaultDateType: "modified",
theme: { theme: {
fontOrigin: "googleFonts", fontOrigin: "googleFonts",
cdnCaching: true, cdnCaching: true,
typography: { typography: {
header: "Bitter", // Schibsted Grotesk header: "Bitter", // Schibsted Grotesk
body: "Poppins", // Source Sans Pro, Poppins body: "Poppins", // Source Sans Pro
code: "Fira Mono", // IBM Plex Mono code: "Fira Mono", // IBM Plex Mono
}, },
colors: { colors: {
lightMode: { lightMode: {
light: "#faf8f8", // bg light: "#faf8f8", // background
lightgray: "#e5e5e5", // borders lightgray: "#e5e5e5", // borders
gray: "#8f8f8f", // graph links, heavy borders gray: "#8f8f8f", // graph links, heavy borders
darkgray: "#2e2e2e", // body text darkgray: "#2e2e2e", // body text
dark: "#1c1c1c", // header text, icons dark: "#1c1c1c", // header text, icons
secondary: "#091217", // links, nodes secondary: "#091217", // links, nodes
tertiary: "#AA336A", // hover states, visited tertiary: "#AA336A", // hover states, visited
highlight: "rgba(143, 159, 169, 0.2)", // internal link bg highlight: "rgba(143, 159, 169, 0.2)", // internal link background
}, },
darkMode: { darkMode: {
light: "#1e1e2e", // background light: "#1e1e2e", // background
@ -60,7 +59,7 @@ const config: QuartzConfig = {
Plugin.ObsidianFlavoredMarkdown(), Plugin.ObsidianFlavoredMarkdown(),
Plugin.GitHubFlavoredMarkdown(), Plugin.GitHubFlavoredMarkdown(),
Plugin.TableOfContents(), Plugin.TableOfContents(),
Plugin.CrawlLinks({markdownLinkResolution: "shortest"}), Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
Plugin.Description(), Plugin.Description(),
], ],
filters: [Plugin.RemoveDrafts()], filters: [Plugin.RemoveDrafts()],
@ -68,8 +67,8 @@ const config: QuartzConfig = {
Plugin.AliasRedirects(), Plugin.AliasRedirects(),
Plugin.ComponentResources(), Plugin.ComponentResources(),
Plugin.ContentPage(), Plugin.ContentPage(),
// Plugin.FolderPage(), Plugin.FolderPage(),
// Plugin.TagPage(), Plugin.TagPage(),
Plugin.ContentIndex({ Plugin.ContentIndex({
enableSiteMap: true, enableSiteMap: true,
enableRSS: true, enableRSS: true,