mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 15:09:47 +00:00
🚉
This commit is contained in:
@@ -13,6 +13,8 @@ export const PageHead: React.FC<
|
||||
url?: string
|
||||
}
|
||||
> = ({ site, title, description, pageId, image, url }) => {
|
||||
const rssFeedUrl = `${config.host}/feed.xml`
|
||||
|
||||
title = title ?? site?.name
|
||||
description = description ?? site?.description
|
||||
|
||||
@@ -67,6 +69,13 @@ export const PageHead: React.FC<
|
||||
</>
|
||||
)}
|
||||
|
||||
<link
|
||||
rel='alternate'
|
||||
type='application/rss+xml'
|
||||
href={rssFeedUrl}
|
||||
title={site?.name}
|
||||
/>
|
||||
|
||||
<meta property='og:title' content={title} />
|
||||
<meta name='twitter:title' content={title} />
|
||||
<title>{title}</title>
|
||||
|
||||
Reference in New Issue
Block a user