We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f2472ec + e27ad36 commit 370bdbaCopy full SHA for 370bdba
components/comments/index.js
@@ -22,6 +22,8 @@ const DisqusComponent = dynamic(
22
23
const Comments = ({ frontMatter }) => {
24
let term
25
+ const comment = siteMetadata?.comment
26
+ if (!comment || Object.keys(comment).length === 0) return <></>
27
switch (
28
siteMetadata.comment.giscusConfig.mapping ||
29
siteMetadata.comment.utterancesConfig.issueTerm
0 commit comments