Added og tags and SEO for google
This commit is contained in:
@@ -19,6 +19,19 @@ export default {
|
|||||||
Search,
|
Search,
|
||||||
Sidebar,
|
Sidebar,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
head () {
|
||||||
|
return {
|
||||||
|
meta: [
|
||||||
|
{ hid: 'og:image', property: 'og:image', content: this.prodBaseUrl + 'apple-touch-icon.png' },
|
||||||
|
{ hid: 'og:url', property: 'og:url', content: this.prodBaseUrl },
|
||||||
|
],
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created: function () {
|
||||||
|
this.prodBaseUrl = 'https://webgems.io/'
|
||||||
|
return ''
|
||||||
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,11 @@ export default {
|
|||||||
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
||||||
{ hid: 'description', name: 'description', content: pkg.description },
|
{ hid: 'description', name: 'description', content: pkg.description },
|
||||||
{ hid: 'keywords', name: 'keywords', content: 'css, html, php, server, resources, design, gems, nuxt, javascript, tutorials, development, software'},
|
{ hid: 'keywords', name: 'keywords', content: 'css, html, php, server, resources, design, gems, nuxt, javascript, tutorials, development, software'},
|
||||||
|
|
||||||
|
{ name: "robots", content: "index, follow" },
|
||||||
|
{ name: "distribution", content: "global"},
|
||||||
|
{ property: "og:title", content: "webgems" },
|
||||||
|
|
||||||
{ name:'theme-color', content: '#ffffff' },
|
{ name:'theme-color', content: '#ffffff' },
|
||||||
{ name: 'msapplication-TileColor', content: '#da532c' },
|
{ name: 'msapplication-TileColor', content: '#da532c' },
|
||||||
{ rel: 'mask-icon', href: '/safari-pinned-tab.svg', color: '#5bbad5' },
|
{ rel: 'mask-icon', href: '/safari-pinned-tab.svg', color: '#5bbad5' },
|
||||||
|
|||||||
Reference in New Issue
Block a user