mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-13 23:55:35 -04:00
allow disabling comments via front matter
This commit is contained in:
@@ -59,7 +59,7 @@ const Note = ({ frontMatter, mdxSource }) => {
|
||||
{/* @ts-ignore */}
|
||||
<MDXComponent components={mdxComponents} />
|
||||
</Content>
|
||||
<Comments slug={frontMatter.slug} />
|
||||
{frontMatter.noComments !== true && <Comments slug={frontMatter.slug} />}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user