diff --git a/src/App.vue b/src/App.vue index f31a2b06..4a92bba7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -25,7 +25,7 @@ export default createComponent({ return { meta: [ { property: 'og:url', content: url }, - { property: 'og:image', content: `/og/og.jpg` }, + { vmid: 'og:image', property: 'og:image', content: `/og/og.jpg` }, { property: 'og:image:width', content: '1200' }, { property: 'og:image:height', content: '630' }, { @@ -36,6 +36,7 @@ export default createComponent({ { property: 'og:description', content: `The personal website of Daniel Roe`, + vmid: 'og:description', }, ], link: [ diff --git a/src/pages/blog/_article.vue b/src/pages/blog/_article.vue index f3c25728..013fed3a 100644 --- a/src/pages/blog/_article.vue +++ b/src/pages/blog/_article.vue @@ -40,9 +40,13 @@ export default createComponent({ content: this.description, vmid: 'description', }, - { property: 'og:image', content: `/og/${slug}.jpg` }, - { property: 'og:title', content: this.title }, - { property: 'og:description', content: this.description }, + { vmid: 'og:image', property: 'og:image', content: `/og/${slug}.jpg` }, + { vmid: 'og:title', property: 'og:title', content: this.title }, + { + vmid: 'og:description', + property: 'og:description', + content: this.description, + }, ], } }, diff --git a/src/pages/index.vue b/src/pages/index.vue index 23405a42..3fbb9169 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -29,7 +29,7 @@ export default createComponent({ }, head: { title: 'Daniel Roe', - meta: [{ property: 'og:title', content: `Daniel Roe` }], + meta: [{ vmid: 'og:title', property: 'og:title', content: `Daniel Roe` }], }, })