mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-22 07:16:44 +00:00
🌕
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user