diff --git a/pages/app/_slug.vue b/pages/app/_slug.vue index 89e0464..0c5b92a 100644 --- a/pages/app/_slug.vue +++ b/pages/app/_slug.vue @@ -78,14 +78,30 @@ export default { head() { return { title: `Does ${this.app.name} work on Apple Silicon?`, - // meta: [ - // // hid is used as unique identifier. Do not use `vmid` for it as it will not work - // { - // hid: 'description', - // name: 'description', - // content: 'My custom description' - // } - // ] + meta: [ + // hid is used as unique identifier. Do not use `vmid` for it as it will not work + { + 'hid': 'description', + 'name': 'description', + 'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M1 Processors` + }, + + // Twitter Card + { + 'hid': 'twitter:title', + 'property': 'twitter:title', + 'content': `Does ${this.app.name} work on Apple Silicon?` + }, + { + 'hid': 'twitter:description', + 'property': 'twitter:description', + 'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M1 Processors` + }, + { + 'property': 'twitter:url', + 'content': `${process.env.URL}${this.$nuxt.$route.path}` + }, + ] } } } diff --git a/pages/formula/_slug.vue b/pages/formula/_slug.vue index b5bfac7..eeccca6 100644 --- a/pages/formula/_slug.vue +++ b/pages/formula/_slug.vue @@ -56,14 +56,30 @@ export default { head() { return { title: `Does ${this.app.name} work on Apple Silicon?`, - // meta: [ - // // hid is used as unique identifier. Do not use `vmid` for it as it will not work - // { - // hid: 'description', - // name: 'description', - // content: 'My custom description' - // } - // ] + meta: [ + // hid is used as unique identifier. Do not use `vmid` for it as it will not work + { + 'hid': 'description', + 'name': 'description', + 'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M1 Processors when installed via Homebrew. ` + }, + + // Twitter Card + { + 'hid': 'twitter:title', + 'property': 'twitter:title', + 'content': `Does ${this.app.name} work on Apple Silicon?` + }, + { + 'hid': 'twitter:description', + 'property': 'twitter:description', + 'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M1 Processors when installed via Homebrew. ` + }, + { + 'property': 'twitter:url', + 'content': `${process.env.URL}${this.$nuxt.$route.path}` + }, + ] } } } diff --git a/pages/game/_slug.vue b/pages/game/_slug.vue index 6b61fb7..efd8c83 100644 --- a/pages/game/_slug.vue +++ b/pages/game/_slug.vue @@ -117,14 +117,30 @@ export default { head() { return { title: `Does ${this.app.name} work on Apple Silicon?`, - // meta: [ - // // hid is used as unique identifier. Do not use `vmid` for it as it will not work - // { - // hid: 'description', - // name: 'description', - // content: 'My custom description' - // } - // ] + meta: [ + // hid is used as unique identifier. Do not use `vmid` for it as it will not work + { + 'hid': 'description', + 'name': 'description', + 'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M1 Processors for gaming. ` + }, + + // Twitter Card + { + 'hid': 'twitter:title', + 'property': 'twitter:title', + 'content': `Does ${this.app.name} work on Apple Silicon?` + }, + { + 'hid': 'twitter:description', + 'property': 'twitter:description', + 'content': `Check the the latest reported support status of ${this.app.name} on Apple Silicon and Apple M1 Processors for gaming. ` + }, + { + 'property': 'twitter:url', + 'content': `${process.env.URL}${this.$nuxt.$route.path}` + }, + ] } } } diff --git a/pages/kind/_slug.vue b/pages/kind/_slug.vue index fffef63..e4bb212 100644 --- a/pages/kind/_slug.vue +++ b/pages/kind/_slug.vue @@ -107,19 +107,38 @@ export default { }, title () { return `List of ${this.category.pluralLabel || this.category.label} that work on Apple Silicon?` - } + }, + description () { + return `Check the the latest reported support status of ${this.category.pluralLabel || this.category.label} on Apple Silicon and Apple M1 Processors. ` + }, }, head() { return { title: this.title, - // meta: [ - // // hid is used as unique identifier. Do not use `vmid` for it as it will not work - // { - // hid: 'description', - // name: 'description', - // content: 'My custom description' - // } - // ] + meta: [ + // hid is used as unique identifier. Do not use `vmid` for it as it will not work + { + 'hid': 'description', + 'name': 'description', + 'content': this.description + }, + + // Twitter Card + { + 'hid': 'twitter:title', + 'property': 'twitter:title', + 'content': this.title + }, + { + 'hid': 'twitter:description', + 'property': 'twitter:description', + 'content': this.description + }, + { + 'property': 'twitter:url', + 'content': `${process.env.URL}${this.$nuxt.$route.path}` + }, + ] } } }