googleAdsense

This commit is contained in:
tangly1024
2022-02-08 13:12:14 +08:00
parent 7120781e60
commit acf78ebd7b
2 changed files with 11 additions and 1 deletions

View File

@@ -86,6 +86,16 @@ export const LayoutSlug = (props) => {
/>
)}
</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>
<ArticleAround prev={prev} next={next}/>
<Comment frontMatter={post}/>