diff --git a/api/render-social-image/[pageId].ts b/api/render-social-image/[pageId].ts index 492bce7..2b3ee36 100644 --- a/api/render-social-image/[pageId].ts +++ b/api/render-social-image/[pageId].ts @@ -82,7 +82,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => { block ), title: isRootPage - ? socialImageSubtitle + ? socialImageTitle : getBlockTitle(block, recordMap) ?? socialImageTitle, subtitle: getPageDescription(block, recordMap) ?? socialImageSubtitle })