mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-14 07:26:43 +00:00
🚧
This commit is contained in:
@@ -51,6 +51,7 @@ export const name: string = getSiteConfig('name')
|
||||
export const author: string = getSiteConfig('author')
|
||||
export const domain: string = getSiteConfig('domain')
|
||||
export const description: string = getSiteConfig('description', 'Notion Blog')
|
||||
export const language: string = getSiteConfig('language', 'en')
|
||||
|
||||
// social accounts
|
||||
export const twitter: string | null = getSiteConfig('twitter', null)
|
||||
|
||||
@@ -8,6 +8,7 @@ export interface SiteConfig {
|
||||
domain: string
|
||||
author: string
|
||||
description?: string
|
||||
language?: string
|
||||
|
||||
twitter?: string
|
||||
github?: string
|
||||
|
||||
@@ -24,6 +24,7 @@ export const getServerSideProps: GetServerSideProps = async ({ req, res }) => {
|
||||
title: config.name,
|
||||
site_url: config.host,
|
||||
feed_url: `${config.host}/feed.xml`,
|
||||
language: config.language,
|
||||
ttl: ttlMinutes
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user