Skip to content

Commit 3d6a8a2

Browse files
committed
feat: cert banner
1 parent bd0b5b4 commit 3d6a8a2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.vitepress/config.mts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ export default defineConfig({
2727
lang: 'en-US',
2828
title: 'NativeScript',
2929
description: 'NativeScript docs',
30+
head: [
31+
[
32+
'script',
33+
{},
34+
`const script = document.createElement('script');
35+
script.async = true;
36+
script.src = 'https://vueschool.io/banner.js?affiliate=NSCRIPT&type=top';
37+
document.head.appendChild(script);`,
38+
],
39+
],
3040
ignoreDeadLinks: true,
3141
cleanUrls: true,
3242
lastUpdated: true,

0 commit comments

Comments
 (0)