mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 15:05:42 -05:00
enable all plugins
This commit is contained in:
parent
b9775110fc
commit
09b6f76bdd
3
.gitignore
vendored
3
.gitignore
vendored
@ -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
|
||||||
@ -1,4 +1,5 @@
|
|||||||
public
|
|
||||||
node_modules
|
|
||||||
.quartz-cache
|
.quartz-cache
|
||||||
pnpm-lock.yaml
|
node_modules
|
||||||
|
package-lock.json
|
||||||
|
pnpm-lock.yaml
|
||||||
|
public
|
||||||
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user