SEO
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -54,6 +54,11 @@ export default {
|
||||
blog: response.data.data.blogByHandle
|
||||
}
|
||||
})
|
||||
},
|
||||
head () {
|
||||
return {
|
||||
title: this.$store.state.shop.name + ' | ' + this.blog.title
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
+1
-1
@@ -90,7 +90,7 @@ export default {
|
||||
},
|
||||
head () {
|
||||
return {
|
||||
title: 'Home Page',
|
||||
title: this.shop.name,
|
||||
meta: [
|
||||
{ hid: 'description', name: 'description', content: this.description }
|
||||
]
|
||||
|
||||
@@ -31,6 +31,11 @@ export default {
|
||||
policy: response.data.data.shop.privacyPolicy
|
||||
}
|
||||
})
|
||||
},
|
||||
head () {
|
||||
return {
|
||||
title: 'Privacy Policy'
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -31,6 +31,11 @@ export default {
|
||||
policy: response.data.data.shop.refundPolicy
|
||||
}
|
||||
})
|
||||
},
|
||||
head () {
|
||||
return {
|
||||
title: 'Refund Policy'
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -31,6 +31,11 @@ export default {
|
||||
policy: response.data.data.shop.termsOfService
|
||||
}
|
||||
})
|
||||
},
|
||||
head () {
|
||||
return {
|
||||
title: 'Terms of services'
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -94,6 +94,14 @@ export default {
|
||||
product: {},
|
||||
quantity: 1
|
||||
}
|
||||
},
|
||||
head () {
|
||||
return {
|
||||
title: this.$store.state.shop.name + ' | ' + this.product.title,
|
||||
meta: [
|
||||
{ hid: 'description', name: 'description', content: this.product.description }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -26,6 +26,11 @@ export default {
|
||||
products () {
|
||||
return this.$store.state.products
|
||||
}
|
||||
},
|
||||
head () {
|
||||
return {
|
||||
title: this.$store.state.shop.name + ' | ' + 'Products'
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user