upstream #1

Merged
jblu merged 1007 commits from upstream into main 2024-11-04 22:35:57 -06:00
Showing only changes of commit e27ad36424 - Show all commits

View File

@ -22,7 +22,8 @@ const DisqusComponent = dynamic(
const Comments = ({ frontMatter }) => {
let term
if (!siteMetadata.comment) return <></>
const comment = siteMetadata?.comment
if (!comment || Object.keys(comment).length === 0) return <></>
switch (
siteMetadata.comment.giscusConfig.mapping ||
siteMetadata.comment.utterancesConfig.issueTerm