mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-23 23:16:50 +00:00
fix. 评论插件;fukasawa广告组件
This commit is contained in:
@@ -8,6 +8,7 @@ import ArticleAround from './ArticleAround'
|
||||
import { AdSlot } from '@/components/GoogleAdsense'
|
||||
import LazyImage from '@/components/LazyImage'
|
||||
import { formatDateFmt } from '@/lib/formatDate'
|
||||
import WWAds from '@/components/WWAds'
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -81,8 +82,7 @@ export default function ArticleDetail(props) {
|
||||
|
||||
</section>
|
||||
|
||||
<AdSlot type='in-article'/>
|
||||
|
||||
<WWAds className='w-full' orientation='horizontal'/>
|
||||
</header>
|
||||
|
||||
{/* Notion文章主体 */}
|
||||
@@ -91,6 +91,7 @@ export default function ArticleDetail(props) {
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<AdSlot type='in-article'/>
|
||||
{/* 分享 */}
|
||||
<ShareBar post={post} />
|
||||
</section>
|
||||
|
||||
@@ -21,6 +21,7 @@ import { Style } from './style'
|
||||
import replaceSearchResult from '@/components/Mark'
|
||||
import CommonHead from '@/components/CommonHead'
|
||||
import { siteConfig } from '@/lib/config'
|
||||
import WWAds from '@/components/WWAds'
|
||||
|
||||
const Live2D = dynamic(() => import('@/components/Live2D'))
|
||||
|
||||
@@ -124,7 +125,10 @@ const LayoutIndex = (props) => {
|
||||
*/
|
||||
const LayoutPostList = (props) => {
|
||||
return <LayoutBase {...props}>
|
||||
{siteConfig('POST_LIST_STYLE') === 'page' ? <BlogListPage {...props} /> : <BlogListScroll {...props} />}
|
||||
|
||||
<div className='w-full p-2'><WWAds className='w-full' orientation='horizontal'/></div>
|
||||
|
||||
{siteConfig('POST_LIST_STYLE') === 'page' ? <BlogListPage {...props} /> : <BlogListScroll {...props} />}
|
||||
</LayoutBase>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user