This commit is contained in:
thomas
2020-03-03 20:45:44 +01:00
parent dceffdca5b
commit 2ee3aba0cf
9 changed files with 47 additions and 1 deletions
@@ -50,6 +50,10 @@ export default {
authorV2 {
name
},
seo {
title,
description
}
image (maxWidth: 2000) {
altText,
originalSrc
@@ -63,6 +67,14 @@ export default {
article: response.data.data.blogByHandle.articleByHandle
}
})
},
head () {
return {
title: this.article.seo.title,
meta: [
{ hid: 'description', name: 'description', content: this.article.seo.description }
]
}
}
}
</script>
+5
View File
@@ -54,6 +54,11 @@ export default {
blog: response.data.data.blogByHandle
}
})
},
head () {
return {
title: this.$store.state.shop.name + ' | ' + this.blog.title
}
}
}
</script>