fix: opengraph images
This commit is contained in:
parent
f6fbd90a17
commit
5f7ff6be0a
|
@ -121,6 +121,11 @@ export async function generateMetadata({ params }: { params: { id: string } }) {
|
|||
publishedTime: post.publishedAt,
|
||||
title: post.title,
|
||||
description: post.subtitle,
|
||||
images: [
|
||||
{
|
||||
url: post.mainImage,
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
|
@ -129,6 +129,11 @@ export async function generateMetadata({
|
|||
publishedDate: project.publishedAt,
|
||||
title: project.title,
|
||||
description: project.subtitle,
|
||||
images: [
|
||||
{
|
||||
url: project.mainImage,
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user