forked from bootstrap-vue/bootstrap-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.js
43 lines (42 loc) · 1.2 KB
/
default.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import { BASE_URL, GWT_BV_ORG, GWT_JS_ORG, GWT_BV_NETLIFY } from '~/constants'
import Footer from '~/components/footer'
import Header from '~/components/header'
export default {
name: 'BVDefaultLayout',
render(h) {
return h('div', [h(Header), h('nuxt'), h(Footer)])
},
head() {
return {
link: [
// Add canonical URL so all site variations are
// indexed to the same primary URL
{
hid: 'canonical',
rel: 'canonical',
href: `${BASE_URL}${this.$route.path}`
}
],
meta: [
// Add GWT site verification for *.bootstrap-vue.org
{
hid: 'google-site-verification-bv-org',
name: 'google-site-verification',
content: GWT_BV_ORG
},
// Add GWT site verification for bootstrap-vue.js.org (legacy)
{
hid: 'google-site-verification-js-org',
name: 'google-site-verification',
content: GWT_JS_ORG
},
// Add GWT site verification for bootstrap-vue.netlify.app (legacy)
{
hid: 'google-site-verification-netlify',
name: 'google-site-verification',
content: GWT_BV_NETLIFY
}
]
}
}
}