We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fafae3a commit a171dd2Copy full SHA for a171dd2
website/docusaurus.config.js
@@ -151,6 +151,16 @@ const config = {
151
darkTheme: prismThemes.dracula,
152
},
153
}),
154
+ headTags: [
155
+ {
156
+ tagName: 'script',
157
+ attributes: {
158
+ async: true,
159
+ src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3450324887026774',
160
+ crossorigin: 'anonymous',
161
+ },
162
163
+ ],
164
};
165
166
export default config;
website/src/html/head.js
@@ -0,0 +1,11 @@
1
+// src/html/head.js
2
+import React from 'react';
3
+
4
+export default function Head() {
5
+ return (
6
+ <>
7
+ <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3450324887026774"
8
+ crossorigin="anonymous"></script>
9
+ </>
10
+ );
11
+}
0 commit comments