mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-08 23:16:54 +00:00
分享功能加入所有主题
This commit is contained in:
@@ -13,6 +13,7 @@ import ArticleAround from './components/ArticleAround'
|
||||
import TocDrawer from './components/TocDrawer'
|
||||
import CategoryItem from './components/CategoryItem'
|
||||
import TagItemMini from './components/TagItemMini'
|
||||
import ShareBar from '@/components/ShareBar'
|
||||
|
||||
export const LayoutSlug = props => {
|
||||
const { post, prev, next, siteInfo, lock, validPassword } = props
|
||||
@@ -92,6 +93,8 @@ export const LayoutSlug = props => {
|
||||
</div>
|
||||
</div>
|
||||
{post.type === 'Post' && <ArticleAround prev={prev} next={next} />}
|
||||
{/* 分享 */}
|
||||
<ShareBar post={post} />
|
||||
<Comment frontMatter={post} />
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user