From 05e6f05a5067ca1e6f5d5f793353182d8804c860 Mon Sep 17 00:00:00 2001
From: Anton Bulakh <him@necauq.ua>
Date: Fri, 27 Dec 2024 04:05:35 +0000
Subject: [PATCH] feat(backlinks): hide by default when empty (#1674)

---
 quartz/components/TagList.tsx |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/quartz/components/TagList.tsx b/quartz/components/TagList.tsx
index 04a483b..4a89fbd 100644
--- a/quartz/components/TagList.tsx
+++ b/quartz/components/TagList.tsx
@@ -9,12 +9,11 @@
     return (
       <ul class={classNames(displayClass, "tags")}>
         {tags.map((tag) => {
-          const display = `#${tag}`
           const linkDest = baseDir + `/tags/${slugTag(tag)}`
           return (
             <li>
               <a href={linkDest} class="internal tag-link">
-                {display}
+                {tag}
               </a>
             </li>
           )
@@ -34,7 +33,6 @@
   gap: 0.4rem;
   margin: 1rem 0;
   flex-wrap: wrap;
-  justify-self: end;
 }
 
 .section-li > .section > .tags {

--
Gitblit v1.10.0