From 7bde99b4e2d49e30dad1e0d58ccc34c2e7482005 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 14 Aug 2023 00:47:18 +0000
Subject: [PATCH] fix: add trailing slash to local serving
---
quartz/plugins/emitters/folderPage.tsx | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/quartz/plugins/emitters/folderPage.tsx b/quartz/plugins/emitters/folderPage.tsx
index 5de2e92..f5bc7a6 100644
--- a/quartz/plugins/emitters/folderPage.tsx
+++ b/quartz/plugins/emitters/folderPage.tsx
@@ -74,9 +74,7 @@
}
const content = renderPage(slug, componentData, opts, externalResources)
-
- const fp = (file.data.slug! + ".html") as FilePath
- await emit({
+ const fp = await emit({
content,
slug: file.data.slug!,
ext: ".html",
--
Gitblit v1.10.0