feat(og): migrate to co-located opengraph-image.tsx convention
This commit is contained in:
@@ -33,20 +33,11 @@ export async function generateMetadata({
|
||||
title: post.title,
|
||||
description: post.description,
|
||||
type: "article",
|
||||
images: [
|
||||
{
|
||||
url: `/api/og/${slug}`,
|
||||
width: 1200,
|
||||
height: 630,
|
||||
alt: post.title,
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: post.title,
|
||||
description: post.description,
|
||||
images: [`/api/og/${slug}`],
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user