mirror of
https://github.com/andatoshiki/toshiki-home-nuxt3.git
synced 2026-06-05 22:26:28 +00:00
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:
parent
b8ba5e7d35
commit
89756e0941
@ -81,7 +81,7 @@ export default Vue.extend({
|
||||
},
|
||||
{
|
||||
name: 'og:site_name',
|
||||
content: `toshiki.dev/${this.$route?.path}`
|
||||
content: `Toshiki's Homepage`
|
||||
},
|
||||
{
|
||||
name: 'og:description',
|
||||
@ -93,7 +93,7 @@ export default Vue.extend({
|
||||
},
|
||||
{
|
||||
name: 'og:url',
|
||||
content: href
|
||||
content: `toshiki.dev/${this.$route?.path}`
|
||||
}
|
||||
]
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user