mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-29 23:16:51 +00:00
feature:
标签加入颜色,修复编译问题
This commit is contained in:
@@ -128,14 +128,14 @@ const ArticleDetail = ({ post, blockMap, tags, prev, next, posts, categories })
|
||||
|
||||
<section className='md:flex md:justify-between'>
|
||||
|
||||
{post.tags && (
|
||||
{post.tagItems && (
|
||||
<div className='flex flex-nowrap leading-8 p-1 py-4 overflow-x-auto'>
|
||||
<div className='hidden md:block dark:text-gray-300'>标签:</div>
|
||||
{post.tagItems.map(tag => (
|
||||
<TagItem key={tag.name} tag={tag} />
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
)}
|
||||
|
||||
<div>
|
||||
<ShareBar post={post} />
|
||||
|
||||
Reference in New Issue
Block a user