fix: og-image => thumbnail
renamed og-image to thumbnail for external blog posts
This commit is contained in:
parent
23a01e782a
commit
5681454b61
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ const externalPosts = computed<BlogCard[]>(() => externalPostsRaw.value?.flatMap
|
||||||
return externalBlog.posts.map(post => ({
|
return externalBlog.posts.map(post => ({
|
||||||
title: post.title,
|
title: post.title,
|
||||||
description: post.excerpt,
|
description: post.excerpt,
|
||||||
image: post['og-image'],
|
image: post.thumbnail,
|
||||||
date: post.date,
|
date: post.date,
|
||||||
link: post.url,
|
link: post.url,
|
||||||
category: 'extern',
|
category: 'extern',
|
||||||
|
|
|
@ -3,7 +3,7 @@ export type Post = {
|
||||||
title: string
|
title: string
|
||||||
excerpt: string
|
excerpt: string
|
||||||
date: string
|
date: string
|
||||||
'og-image': string
|
thumbnail: string
|
||||||
}
|
}
|
||||||
|
|
||||||
type Author = {
|
type Author = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue