mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 15:09:47 +00:00
Merge pull request #722 from Armruo/fix/pagehead-isblogpost-undefined
This commit is contained in:
@@ -297,6 +297,7 @@ export function NotionPage({
|
||||
description={socialDescription}
|
||||
image={socialImage}
|
||||
url={canonicalPageUrl}
|
||||
isBlogPost={isBlogPost}
|
||||
/>
|
||||
|
||||
{isLiteMode && <BodyClassName className='notion-lite' />}
|
||||
|
||||
@@ -10,12 +10,14 @@ export function PageHead({
|
||||
description,
|
||||
pageId,
|
||||
image,
|
||||
url
|
||||
url,
|
||||
isBlogPost
|
||||
}: types.PageProps & {
|
||||
title?: string
|
||||
description?: string
|
||||
image?: string
|
||||
url?: string
|
||||
isBlogPost?: boolean
|
||||
}) {
|
||||
const rssFeedUrl = `${config.host}/feed`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user