From fe2852ff258eabfab49af98619c9b5b9f41e004c Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 05 Jul 2023 01:08:36 +0000
Subject: [PATCH] update package
---
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