mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-04 15:10:23 +00:00
googleAdsense
This commit is contained in:
@@ -26,7 +26,7 @@ const CusdisComponent = dynamic(
|
|||||||
const Comment = ({ frontMatter }) => {
|
const Comment = ({ frontMatter }) => {
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
return (
|
return (
|
||||||
<div className='comment mt-5 px-5 text-gray-800 dark:text-gray-300'>
|
<div className='comment mt-5 text-gray-800 dark:text-gray-300'>
|
||||||
<Tabs>
|
<Tabs>
|
||||||
{BLOG.COMMENT_CUSDIS_APP_ID && (<div key='Cusdis'>
|
{BLOG.COMMENT_CUSDIS_APP_ID && (<div key='Cusdis'>
|
||||||
<CusdisComponent id={frontMatter.id} url={BLOG.LINK + router.asPath} title={frontMatter.title} />
|
<CusdisComponent id={frontMatter.id} url={BLOG.LINK + router.asPath} title={frontMatter.title} />
|
||||||
|
|||||||
@@ -86,6 +86,16 @@ export const LayoutSlug = (props) => {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</section>
|
</section>
|
||||||
|
<section className="px-1 py-2 my-1 text-sm font-light overflow-auto text-gray-600 dark:text-gray-400">
|
||||||
|
{/* 文章内嵌广告 */}
|
||||||
|
<ins className="adsbygoogle"
|
||||||
|
style={{ display: 'block', textAlign: 'center' }}
|
||||||
|
data-adtest="on"
|
||||||
|
data-ad-layout="in-article"
|
||||||
|
data-ad-format="fluid"
|
||||||
|
data-ad-client="ca-pub-2708419466378217"
|
||||||
|
data-ad-slot="3806269138"/>
|
||||||
|
</section>
|
||||||
<div>
|
<div>
|
||||||
<ArticleAround prev={prev} next={next}/>
|
<ArticleAround prev={prev} next={next}/>
|
||||||
<Comment frontMatter={post}/>
|
<Comment frontMatter={post}/>
|
||||||
|
|||||||
Reference in New Issue
Block a user