Skip to content

Commit 1e257ba

Browse files
committed
feat: apply google adsense auto ads
Signed-off-by: seven <[email protected]>
1 parent 8f1b299 commit 1e257ba

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

docs/.vitepress/config.mts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ export default defineConfig({
4747
['meta', {name: 'baidu-site-verification', content: 'codeva-owQvVYl3h3'}],
4848
['meta', {name: 'msvalidate.01', content: '56AE1305771756AAB07967736F936525'}],
4949
['meta', {name: 'google-adsense-account', content: 'ca-pub-6086289782076652'}],
50+
['script', {
51+
async: '',
52+
src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6086289782076652',
53+
crossorigin: 'anonymous'
54+
}],
5055
],
5156
themeConfig: {
5257
...sharedThemeConfig,

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "geekfun-site",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)