mirror of
https://github.com/andatoshiki/toshiki-home-nuxt3.git
synced 2026-06-06 09:16:46 +00:00
Compare commits
No commits in common. "445b4aaa146055c006a01f9f1bed2f0a2c31da50" and "8a297d302055ff468d13f43fde8760c57e6ec735" have entirely different histories.
445b4aaa14
...
8a297d3020
@ -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,
|
||||
},
|
||||
[
|
||||
{
|
||||
@ -98,11 +98,19 @@ 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
|
||||
|
||||
@ -27,11 +27,76 @@ export default Vue.extend({
|
||||
const description = 'Real life stories anecdotes & developmental journeys for embarking your inspirations.'
|
||||
|
||||
return {
|
||||
title: 'Blog',
|
||||
meta: this.$prepareMeta({
|
||||
bodyAttrs: {
|
||||
class: 'overflow-x-hidden'
|
||||
},
|
||||
title,
|
||||
description
|
||||
})
|
||||
link: [
|
||||
{
|
||||
rel: 'canonical',
|
||||
href
|
||||
}
|
||||
],
|
||||
meta: this.$prepareMeta(
|
||||
{
|
||||
title,
|
||||
description,
|
||||
image,
|
||||
keywords: `${tags}, toshiki, andatoshiki, blog, Anda Toshiki, homepage, portfolio, website, personal, personal website, real life, programming, coding`,
|
||||
url: href,
|
||||
},
|
||||
[
|
||||
{
|
||||
name: 'twitter:card',
|
||||
content: 'summary_large_image'
|
||||
},
|
||||
{
|
||||
name: 'article:published-time',
|
||||
content: post?.createdAt || null
|
||||
},
|
||||
{
|
||||
name: 'twitter:label1',
|
||||
content: 'History'
|
||||
},
|
||||
{
|
||||
name: 'twitter:data1',
|
||||
content: post?.createdAt
|
||||
},
|
||||
{
|
||||
name: 'twitter:label2',
|
||||
content: 'Reading Time'
|
||||
},
|
||||
{
|
||||
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's Homepage`
|
||||
},
|
||||
{
|
||||
name: 'og:description',
|
||||
content: description
|
||||
},
|
||||
{
|
||||
name: 'og:image',
|
||||
content: image
|
||||
},
|
||||
{
|
||||
name: 'og:url',
|
||||
content: `toshiki.dev/${this.$route?.path}`
|
||||
}
|
||||
]
|
||||
)
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user