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

@@ -74,9 +74,10 @@ export const LayoutSlug = props => {
data-ad-slot="3806269138" />
</section>
<ArticleCopyright {...props} />
<ArticleRecommend {...props} />
<ArticleAdjacent {...props} />
{post.type === 'Post' && <ArticleCopyright {...props} /> }
{post.type === 'Post' && <ArticleRecommend {...props} /> }
{post.type === 'Post' && <ArticleAdjacent {...props} /> }
</article>
<hr className='border-dashed' />