mirror of
https://github.com/andatoshiki/toshiki-home-nuxt3.git
synced 2026-06-06 00:06:30 +00:00
update(open graph url): add property entry field for open graph url with the correlated value of routed slug post href link to blog post
This commit is contained in:
parent
8e7dea3069
commit
7889e3fbb7
@ -69,6 +69,7 @@ export default Vue.extend({
|
||||
{
|
||||
title,
|
||||
description,
|
||||
image,
|
||||
keywords: `${tags}, toshiki, andatoshiki, blog, Anda Toshiki, homepage, portfolio, website, personal, personal website, real life, programming, coding`,
|
||||
url: href,
|
||||
},
|
||||
@ -108,7 +109,7 @@ export default Vue.extend({
|
||||
},
|
||||
{
|
||||
name: 'og:site_name',
|
||||
content: `toshiki.dev${this.$route?.path}`
|
||||
content: `toshiki.dev/${this.$route?.path}`
|
||||
},
|
||||
{
|
||||
name: 'og:description',
|
||||
@ -118,8 +119,10 @@ export default Vue.extend({
|
||||
name: 'og:image',
|
||||
content: image
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
name: 'og:url',
|
||||
content: href
|
||||
}
|
||||
]
|
||||
)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user