From d6301fae90d9f922618bf0f413e273156731eef7 Mon Sep 17 00:00:00 2001
From: Adam Brangenberg <adambrangenberg@proton.me>
Date: Wed, 20 Sep 2023 18:38:13 +0000
Subject: [PATCH] feat: Making Quartz available offline by making it a PWA (#465)
---
quartz.config.ts | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/quartz.config.ts b/quartz.config.ts
index bd7abfb..5a1f643 100644
--- a/quartz.config.ts
+++ b/quartz.config.ts
@@ -4,13 +4,15 @@
const config: QuartzConfig = {
configuration: {
pageTitle: "🪴 Quartz 4.0",
+ description: "Quartz Documentation Page and Demo",
enableSPA: true,
enablePopovers: true,
analytics: {
provider: "plausible",
},
baseUrl: "quartz.jzhao.xyz",
- ignorePatterns: ["private", "templates"],
+ ignorePatterns: ["private", "templates", ".obsidian"],
+ defaultDateType: "created",
theme: {
typography: {
header: "Schibsted Grotesk",
@@ -66,8 +68,9 @@
enableSiteMap: true,
enableRSS: true,
}),
- Plugin.Assets({ attachmentsFolder: "attachments" }),
+ Plugin.Assets(),
Plugin.Static(),
+ Plugin.NotFoundPage(),
],
},
}
--
Gitblit v1.10.0