mirror of
https://github.com/pykeio/ort
synced 2026-04-27 17:17:03 +02:00
2.0.0-rc.11
This commit is contained in:
@@ -14,7 +14,13 @@ export async function generateMetadata(props): Promise<Metadata> {
|
||||
title: metadata.title,
|
||||
description: metadata.description,
|
||||
openGraph: {
|
||||
images: `https://ort.pyke.io/og/${hash(`/${params.mdxPath?.join('/') ?? ''}`)}.png`,
|
||||
images: [
|
||||
{
|
||||
url: `https://ort.pyke.io/og/${hash(`/${params.mdxPath?.join('/') ?? ''}`)}.png`,
|
||||
width: 1200,
|
||||
height: 630
|
||||
}
|
||||
],
|
||||
description: metadata.description ?? undefined
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user