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}
|
description={socialDescription}
|
||||||
image={socialImage}
|
image={socialImage}
|
||||||
url={canonicalPageUrl}
|
url={canonicalPageUrl}
|
||||||
|
isBlogPost={isBlogPost}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{isLiteMode && <BodyClassName className='notion-lite' />}
|
{isLiteMode && <BodyClassName className='notion-lite' />}
|
||||||
|
|||||||
@@ -10,12 +10,14 @@ export function PageHead({
|
|||||||
description,
|
description,
|
||||||
pageId,
|
pageId,
|
||||||
image,
|
image,
|
||||||
url
|
url,
|
||||||
|
isBlogPost
|
||||||
}: types.PageProps & {
|
}: types.PageProps & {
|
||||||
title?: string
|
title?: string
|
||||||
description?: string
|
description?: string
|
||||||
image?: string
|
image?: string
|
||||||
url?: string
|
url?: string
|
||||||
|
isBlogPost?: boolean
|
||||||
}) {
|
}) {
|
||||||
const rssFeedUrl = `${config.host}/feed`
|
const rssFeedUrl = `${config.host}/feed`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user