From 45a96819a21fe540d04c016a414c41d3af465d63 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Fri, 21 Jul 2023 11:49:14 +0800 Subject: [PATCH] fix hexo slotbar --- themes/hexo/components/SlotBar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/hexo/components/SlotBar.js b/themes/hexo/components/SlotBar.js index 2cd6244b..a41b0695 100644 --- a/themes/hexo/components/SlotBar.js +++ b/themes/hexo/components/SlotBar.js @@ -10,9 +10,9 @@ export default function SlotBar(props) { if (tag) { return
- -
#{tag.name + (tag.count ? `(${tag.count})` : '')}
+
#{tag}
} else if (category) {