From 52e6c037309a752741f79264afb3e83cd75feabc Mon Sep 17 00:00:00 2001
From: ikorihn <16367098+ikorihn@users.noreply.github.com>
Date: Sat, 13 Jan 2024 17:08:21 +0000
Subject: [PATCH] fix: broken RSS item's link, which were set to `https:/${base}`. (#687)

---
 quartz/plugins/filters/draft.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/quartz/plugins/filters/draft.ts b/quartz/plugins/filters/draft.ts
index e4a1f8f..65e2d6b 100644
--- a/quartz/plugins/filters/draft.ts
+++ b/quartz/plugins/filters/draft.ts
@@ -2,7 +2,7 @@
 
 export const RemoveDrafts: QuartzFilterPlugin<{}> = () => ({
   name: "RemoveDrafts",
-  shouldPublish([_tree, vfile]) {
+  shouldPublish(_ctx, [_tree, vfile]) {
     const draftFlag: boolean = vfile.data?.frontmatter?.draft ?? false
     return !draftFlag
   },

--
Gitblit v1.10.0