Added og tags and SEO for google

This commit is contained in:
nautatva
2019-10-21 11:38:54 +05:30
parent c8f33bebbe
commit 6c9e6aaa3a
2 changed files with 18 additions and 0 deletions

View File

@@ -19,6 +19,19 @@ export default {
Search,
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>