fix(href): change open graph url property key value to toshiki.dev/${this.$route?.path} vue slug post route path of blog rather than plainly utilizing wrongful href as key value that causes nuxt build to throw error on invalid property

This commit is contained in:
Anda Toshiki 2024-09-11 21:14:29 -07:00 committed by GitHub
parent b8ba5e7d35
commit 89756e0941
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,7 +81,7 @@ export default Vue.extend({
}, },
{ {
name: 'og:site_name', name: 'og:site_name',
content: `toshiki.dev/${this.$route?.path}` content: `Toshiki's Homepage`
}, },
{ {
name: 'og:description', name: 'og:description',
@ -93,7 +93,7 @@ export default Vue.extend({
}, },
{ {
name: 'og:url', name: 'og:url',
content: href content: `toshiki.dev/${this.$route?.path}`
} }
] ]
) )