From 70e029d151ccbb9aeab30a0f811b9f529b7f8818 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 20 Sep 2023 20:52:29 +0000
Subject: [PATCH] Revert "docs: wording changes for offline support"
---
docs/features/offline access.md | 2 +-
quartz/components/Explorer.tsx | 1 -
quartz/components/pages/OfflineFallbackPage.tsx | 2 +-
quartz/plugins/emitters/offline.ts | 2 +-
4 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/docs/features/offline access.md b/docs/features/offline access.md
index 885bbd5..dcffdcd 100644
--- a/docs/features/offline access.md
+++ b/docs/features/offline access.md
@@ -4,7 +4,7 @@
- plugin/emitter
---
-This plugin allows your website to be accessible offline and be installed as an app. You can enable it by adding `Plugin.Offline(),` to the `emitters` in `quartz.config.ts`
+This plugin allows your website to be accessible offline and be installed as an app. You can use it by adding `Plugin.Offline(),` to the `emitters` in `quartz.config.ts`
## Offline Capability
diff --git a/quartz/components/Explorer.tsx b/quartz/components/Explorer.tsx
index c33d375..8597075 100644
--- a/quartz/components/Explorer.tsx
+++ b/quartz/components/Explorer.tsx
@@ -22,7 +22,6 @@
return -1
}
},
- filterFn: (node) => node.name !== "tags",
order: ["filter", "map", "sort"],
} satisfies Options
diff --git a/quartz/components/pages/OfflineFallbackPage.tsx b/quartz/components/pages/OfflineFallbackPage.tsx
index d2fede3..14d4f5e 100644
--- a/quartz/components/pages/OfflineFallbackPage.tsx
+++ b/quartz/components/pages/OfflineFallbackPage.tsx
@@ -4,7 +4,7 @@
return (
<article class="popover-hint">
<h1>Offline</h1>
- <p>You're offline and this page hasn't been cached yet.</p>
+ <p>This page isn't offline available yet.</p>
</article>
)
}
diff --git a/quartz/plugins/emitters/offline.ts b/quartz/plugins/emitters/offline.ts
index b17771a..e3c654b 100644
--- a/quartz/plugins/emitters/offline.ts
+++ b/quartz/plugins/emitters/offline.ts
@@ -62,7 +62,7 @@
const [tree, vfile] = defaultProcessedContent({
slug,
text: "Offline",
- description: "You're offline and this page hasn't been cached yet.",
+ description: "This page isn't offline available yet.",
frontmatter: { title: "Offline", tags: [] },
})
--
Gitblit v1.10.0