File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,13 @@ const config = {
2929 locales : [ 'en' ] ,
3030 } ,
3131
32+ scripts : [
33+ {
34+ src : 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7420210265158247' ,
35+ async : true ,
36+ } ,
37+ ] ,
38+
3239 presets : [
3340 [
3441 'classic' ,
Original file line number Diff line number Diff line change 1+ import React from 'react'
2+ import TOC from '@theme-original/TOC'
3+
4+ export default function TOCWrapper ( props ) {
5+ return (
6+ < >
7+ < TOC { ...props } />
8+ < script
9+ async
10+ src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7420210265158247"
11+ crossOrigin = "anonymous"
12+ />
13+ < ins
14+ className = "adsbygoogle"
15+ style = { { display : 'block' } }
16+ data-ad-client = "ca-pub-7420210265158247"
17+ data-ad-slot = "8711379942"
18+ data-ad-format = "auto"
19+ data-full-width-responsive = "true"
20+ />
21+ < script > (adsbygoogle = window.adsbygoogle || []).push({ } );</ script >
22+ </ >
23+ )
24+ }
You can’t perform that action at this time.
0 commit comments