import Link from 'next/link' /** * 博客列表上方嵌入条 * @param {*} props * @returns */ export default function SlotBar(props) { const { tag, category } = props if (tag) { return
#{tag.name + (tag.count ? `(${tag.count})` : '')}
} else if (category) { return
{category}
} return <> }