Page 隐藏博文组件

This commit is contained in:
tangly
2022-11-05 16:02:54 +08:00
parent 671eaa6840
commit 3ea52edccd
4 changed files with 25 additions and 22 deletions

View File

@@ -66,7 +66,7 @@ export const ArticleDetail = props => {
{CONFIG_MEDIUM.POST_DETAIL_TAG && post?.tagItems?.map(tag => <TagItemMini key={tag.name} tag={tag} />)}
</div>
</div>
<ArticleAround prev={prev} next={next} />
{post.type === 'Post' && <ArticleAround prev={prev} next={next} /> }
<Comment frontMatter={post} />
</section>
</div>