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 => ({
|
||||
title: post.title,
|
||||
description: post.excerpt,
|
||||
image: post['og-image'],
|
||||
image: post.thumbnail,
|
||||
date: post.date,
|
||||
link: post.url,
|
||||
category: 'extern',
|
||||
|
|
|
@ -3,7 +3,7 @@ export type Post = {
|
|||
title: string
|
||||
excerpt: string
|
||||
date: string
|
||||
'og-image': string
|
||||
thumbnail: string
|
||||
}
|
||||
|
||||
type Author = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue