fix: og-image => thumbnail

renamed og-image to thumbnail for external blog posts
This commit is contained in:
webfussel 2025-07-17 13:39:38 +02:00
parent 23a01e782a
commit 5681454b61
2 changed files with 2 additions and 2 deletions

View file

@ -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',

View file

@ -3,7 +3,7 @@ export type Post = {
title: string
excerpt: string
date: string
'og-image': string
thumbnail: string
}
type Author = {