🌐 AI搜索 & 代理 主页
Skip to content

Commit 736e47f

Browse files
authored
Update docs.js
1 parent 770979d commit 736e47f

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

docs/layouts/docs.js

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { BASE_URL } from '~/constants'
1+
import { BASE_URL, GWT_BV_ORG, GWT_JS_ORG } from '~/constants'
22
import BVBreadcrumbs from '~/components/breadcrumbs'
33
import BVFeedback from '~/components/feedback'
44
import BVFooter from '~/components/footer'
@@ -76,15 +76,29 @@ export default {
7676
return h('div', [$header, $container, $footer])
7777
},
7878
head() {
79-
// Add canonical URL so all site variations are
80-
// indexed to the same primary URL
8179
return {
8280
link: [
81+
// Add canonical URL so all site variations are
82+
// indexed to the same primary URL
8383
{
8484
hid: 'canonical',
8585
rel: 'canonical',
8686
href: `${BASE_URL}${this.$route.path}`
8787
}
88+
],
89+
meta: [
90+
// Add GWT site verification for *.bootstrap-vue.org
91+
{
92+
hid: 'google-site-verification-bv-org',
93+
name: 'google-site-verification',
94+
content: GWT_BV_ORG
95+
},
96+
// Add GWT site verification for bootstrap-vue.js.org
97+
{
98+
hid: 'google-site-verification-js-org',
99+
name: 'google-site-verification',
100+
content: GWT_JS_ORG
101+
}
88102
]
89103
}
90104
}

0 commit comments

Comments
 (0)