fix: fixed og image generator
This commit is contained in:
parent
6097508c5f
commit
302e8e40b7
|
@ -37,8 +37,6 @@ export async function generateMetadata(
|
||||||
const github_username = getPageProperty("github", page_block, recordMap);
|
const github_username = getPageProperty("github", page_block, recordMap);
|
||||||
const images = getPageImageUrls(recordMap, { mapImageUrl: (url) => url });
|
const images = getPageImageUrls(recordMap, { mapImageUrl: (url) => url });
|
||||||
|
|
||||||
console.log("desc", description);
|
|
||||||
|
|
||||||
const params = new URLSearchParams({
|
const params = new URLSearchParams({
|
||||||
title: title.toString(),
|
title: title.toString(),
|
||||||
description: description.toString(),
|
description: description.toString(),
|
||||||
|
|
|
@ -32,7 +32,7 @@ export async function GET(props: NextRequest) {
|
||||||
{title?.toString()}
|
{title?.toString()}
|
||||||
</span>
|
</span>
|
||||||
<span tw="text-black/80 text-xl">{description?.toString()}</span>
|
<span tw="text-black/80 text-xl">{description?.toString()}</span>
|
||||||
<div tw="flex mt-1 items-center rounded-full w-fit mr-auto bg-background/30">
|
<div tw="flex mt-1 items-center rounded-full mr-auto">
|
||||||
<img
|
<img
|
||||||
width="24"
|
width="24"
|
||||||
height="24"
|
height="24"
|
||||||
|
|
Loading…
Reference in New Issue