chore: moving more config into site.config.js

This commit is contained in:
Travis Fischer
2021-01-19 21:01:35 -05:00
parent 6707fc8d56
commit 76a04062a5
3 changed files with 24 additions and 12 deletions

View File

@@ -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 (