Skip to content

Commit 353a636

Browse files
committed
Add ad
1 parent 87848cc commit 353a636

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

pagic.config.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,16 @@ export default {
77
theme: 'docs',
88
plugins: ['sidebar', 'script', 'gitalk', 'ga'],
99
title: 'TypeScript 入门教程',
10-
head: <link rel="icon" type="image/png" href="/favicon.png" />,
10+
head: (
11+
<>
12+
<link rel="icon" type="image/png" href="/favicon.png" />
13+
<script
14+
data-ad-client="ca-pub-8483371329009107"
15+
async
16+
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"
17+
/>
18+
</>
19+
),
1120
sidebar: [
1221
{
1322
link: 'introduction/README.md',

0 commit comments

Comments
 (0)