From ca5a5db0bb8f40b465c6c07eed03a04cad647366 Mon Sep 17 00:00:00 2001 From: Relakkes Date: Sat, 2 Nov 2024 21:27:08 +0800 Subject: [PATCH] chore: add ads script --- docs/.vitepress/config.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/.vitepress/config.mjs b/docs/.vitepress/config.mjs index 0b34164..a835e40 100644 --- a/docs/.vitepress/config.mjs +++ b/docs/.vitepress/config.mjs @@ -18,6 +18,10 @@ export default defineConfig({ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-B5H6D2HDGK');` + ], + [ + 'script', + {async: '', src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5210914487984731', crossorigin: 'anonymous'}, ] ], themeConfig: {