File tree Expand file tree Collapse file tree 3 files changed +42
-6
lines changed
Expand file tree Collapse file tree 3 files changed +42
-6
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,11 @@ export const NETLIFY_URL = 'https://bootstrap-vue.netlify.app'
55export const GA_TRACKING_ID = 'UA-89526435-1'
66
77export const TWITTER_HANDLE = '@BootstrapVue'
8+
9+ // --- Google Webmaster tools google-site-verification codes ---
10+ // bootstrap-vue.js.org
11+ // <meta name="google-site-verification" content="H9Mn7ie5Z5KJSjRfsn9nilLn5kFgn7BMEqL_sUhVpzg" />
12+ export const GWT_JS_ORG = 'H9Mn7ie5Z5KJSjRfsn9nilLn5kFgn7BMEqL_sUhVpzg'
13+ // *.bootstrap-vue.org
14+ // <meta name="google-site-verification" content="5E0vyG9CXTfY7McIt2aQppkNA6FQ3b0JJRZzhQ16HW4" />
15+ export const GWT_BV_ORG = '5E0vyG9CXTfY7McIt2aQppkNA6FQ3b0JJRZzhQ16HW4'
Original file line number Diff line number Diff line change 1- import { BASE_URL } from '~/constants'
1+ import { BASE_URL , GWT_BV_ORG , GWT_JS_ORG } from '~/constants'
22import Footer from '~/components/footer'
33import Header from '~/components/header'
44
@@ -8,15 +8,29 @@ export default {
88 return h ( 'div' , [ h ( Header ) , h ( 'nuxt' ) , h ( Footer ) ] )
99 } ,
1010 head ( ) {
11- // Add canonical URL so all site variations are
12- // indexed to the same primary URL
1311 return {
1412 link : [
13+ // Add canonical URL so all site variations are
14+ // indexed to the same primary URL
1515 {
1616 hid : 'canonical' ,
1717 rel : 'canonical' ,
1818 href : `${ BASE_URL } ${ this . $route . path } `
1919 }
20+ ] ,
21+ meta : [
22+ // Add GWT site verification for *.bootstrap-vue.org
23+ {
24+ hid : 'google-site-verification-bv-org' ,
25+ name : 'google-site-verification' ,
26+ content : GWT_BV_ORG
27+ } ,
28+ // Add GWT site verification for bootstrap-vue.js.org
29+ {
30+ hid : 'google-site-verification-js-org' ,
31+ name : 'google-site-verification' ,
32+ content : GWT_JS_ORG
33+ }
2034 ]
2135 }
2236 }
Original file line number Diff line number Diff line change 1- import { BASE_URL } from '~/constants'
1+ import { BASE_URL , GWT_BV_ORG , GWT_JS_ORG } from '~/constants'
22import BVBreadcrumbs from '~/components/breadcrumbs'
33import BVFeedback from '~/components/feedback'
44import 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 }
You can’t perform that action at this time.
0 commit comments