From 4442847b37e6532742e246fedb43fd3d60384545 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 14 Dec 2023 00:07:44 +0000
Subject: [PATCH] fix: internal link selector specificity

---
 quartz/components/pages/TagContent.tsx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/quartz/components/pages/TagContent.tsx b/quartz/components/pages/TagContent.tsx
index 4a068c6..a495af5 100644
--- a/quartz/components/pages/TagContent.tsx
+++ b/quartz/components/pages/TagContent.tsx
@@ -27,7 +27,7 @@
       ? fileData.description
       : htmlToJsx(fileData.filePath!, tree)
 
-  if (tag === "") {
+  if (tag === "/") {
     const tags = [...new Set(allFiles.flatMap((data) => data.frontmatter?.tags ?? []))]
     const tagItemMap: Map<string, QuartzPluginData[]> = new Map()
     for (const tag of tags) {

--
Gitblit v1.10.0