diff --git a/src/pages/blog/_slug.vue b/src/pages/blog/_slug.vue index 3aebebd..b0a4f8e 100755 --- a/src/pages/blog/_slug.vue +++ b/src/pages/blog/_slug.vue @@ -52,7 +52,7 @@ export default Vue.extend({ const tags = getTags?.join(', ') || title const href = `https://toshiki.dev${this.$route?.path}` - const image = `https://toshiki.dev/og-images/${post.slug}.png` + const image = `/og-images/${post.slug}.png` return { bodyAttrs: { @@ -71,7 +71,7 @@ export default Vue.extend({ description, image, keywords: `${tags}, toshiki, andatoshiki, blog, Anda Toshiki, homepage, portfolio, website, personal, personal website, real life, programming, coding`, - url: href, + url: href }, [ { @@ -97,31 +97,6 @@ export default Vue.extend({ { name: 'twitter:data2', content: `${this.getReadingTime} minutes` - }, - { - name: 'twitter:image', - content: image - }, - // open graph - { - name: 'og:type', - content: 'article' - }, - { - name: 'og:site_name', - content: `toshiki.dev/${this.$route?.path}` - }, - { - name: 'og:description', - content: description - }, - { - name: 'og:image', - content: image - }, - { - name: 'og:url', - content: href } ] ) @@ -234,7 +209,6 @@ export default Vue.extend({ -