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/emitters/tagPage.tsx |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/quartz/plugins/emitters/tagPage.tsx b/quartz/plugins/emitters/tagPage.tsx
index 6afde2f..5669119 100644
--- a/quartz/plugins/emitters/tagPage.tsx
+++ b/quartz/plugins/emitters/tagPage.tsx
@@ -40,12 +40,13 @@
       const tags: Set<string> = new Set(
         allFiles.flatMap((data) => data.frontmatter?.tags ?? []).flatMap(getAllSegmentPrefixes),
       )
+
       // add base tag
       tags.add("index")
 
       const tagDescriptions: Record<string, ProcessedContent> = Object.fromEntries(
         [...tags].map((tag) => {
-          const title = tag === "" ? "Tag Index" : `Tag: #${tag}`
+          const title = tag === "index" ? "Tag Index" : `Tag: #${tag}`
           return [
             tag,
             defaultProcessedContent({

--
Gitblit v1.10.0