From 4ff6b953af4ab8b72d7d3d3a5d917f2aa51695ca Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Mon, 21 Sep 2020 19:01:26 -0500 Subject: [PATCH] Add Page title to /kind/ pages --- pages/kind/_slug.vue | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pages/kind/_slug.vue b/pages/kind/_slug.vue index 3048ff1..459a029 100644 --- a/pages/kind/_slug.vue +++ b/pages/kind/_slug.vue @@ -56,10 +56,27 @@ export default { }, supportedAppList () { return this.sectionAppList.filter(app => { - console.log('app.status', app.status) return app.status.includes('yes') }).map(app => app.name) }, + title () { + if (!this.section.label.includes('Tools')) return `List of ${this.section.label} Apps that work on Apple Silicon?` + + return `List of ${this.section.label} that work on Apple Silicon?` + } + }, + 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' + // } + // ] + } } }