mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
fix hexo slotbar
This commit is contained in:
@@ -10,9 +10,9 @@ export default function SlotBar(props) {
|
||||
|
||||
if (tag) {
|
||||
return <div className="cursor-pointer px-3 py-2 mb-2 font-light hover:text-indigo-700 dark:hover:text-indigo-400 transform dark:text-white">
|
||||
<Link key={tag} href={`/tag/${encodeURIComponent(tag.name)}`} passHref
|
||||
<Link key={tag} href={`/tag/${encodeURIComponent(tag)}`} passHref
|
||||
className={'cursor-pointer inline-block rounded duration-200 mr-2 py-0.5 px-1 text-xl whitespace-nowrap '}>
|
||||
<div className='font-light dark:text-gray-400 dark:hover:text-white'> #{tag.name + (tag.count ? `(${tag.count})` : '')} </div>
|
||||
<div className='font-light dark:text-gray-400 dark:hover:text-white'> #{tag} </div>
|
||||
</Link>
|
||||
</div>
|
||||
} else if (category) {
|
||||
|
||||
Reference in New Issue
Block a user