From 974b0da3086d21aabf5ef1a3eefa50675c0d4e95 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 05 Jul 2023 01:02:59 +0000
Subject: [PATCH] folder and tag descriptions, re-enable relative pathing

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

diff --git a/quartz/components/pages/TagContent.tsx b/quartz/components/pages/TagContent.tsx
index 81e8de2..bec66e3 100644
--- a/quartz/components/pages/TagContent.tsx
+++ b/quartz/components/pages/TagContent.tsx
@@ -17,9 +17,12 @@
       allFiles: allPagesWithTag
     }
 
+    const desc = props.fileData.description
+
     // @ts-ignore
     const content = toJsxRuntime(tree, { Fragment, jsx, jsxs, elementAttributeNameCase: 'html' })
     return <div class="popover-hint">
+      {desc && <p>{desc}</p>}
       <article>{content}</article>
       <p>{allPagesWithTag.length} items with this tag.</p>
       <div>

--
Gitblit v1.10.0