mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-19 15:09:36 +00:00
@@ -121,6 +121,11 @@ const Comment = ({ frontMatter, className }) => {
|
||||
return null
|
||||
}
|
||||
|
||||
// 特定文章关闭评论区
|
||||
if (frontMatter?.comment === 'Hide') {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<div
|
||||
key={frontMatter?.id}
|
||||
|
||||
Reference in New Issue
Block a user