mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-06-08 15:11:22 +00:00
chore: moving more config into site.config.js
This commit is contained in:
@@ -97,15 +97,16 @@ export const NotionPage: React.FC<types.PageProps> = ({
|
||||
|
||||
// only display comments on blog post pages
|
||||
if (isBlogPost) {
|
||||
comments = (
|
||||
<ReactUtterances
|
||||
repo='transitive-bullshit/transitivebullsh.it'
|
||||
issueMap='issue-term'
|
||||
issueTerm='title'
|
||||
label='blog post'
|
||||
theme='preferred-color-scheme'
|
||||
/>
|
||||
)
|
||||
if (config.utterancesGitHubRepo) {
|
||||
comments = (
|
||||
<ReactUtterances
|
||||
repo={config.utterancesGitHubRepo}
|
||||
issueMap='issue-term'
|
||||
issueTerm='title'
|
||||
theme='preferred-color-scheme'
|
||||
/>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user