update _Remark.tsx
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Struchkov Mark 2024-09-06 16:35:53 +03:00
parent 320ab1896f
commit a8c42da44a
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C

View File

@ -50,7 +50,7 @@ export default ((opts: Options) => {
return [ return [
() => { () => {
return async (tree: Root, file) => { return async (tree: Root, file) => {
const display = file.data.frontmatter?.enableComments ?? tree const display = file.data.frontmatter?.enableComments ?? true
if (display) { if (display) {
<> <>
<div id="remark42" style="margin-top: 2rem"></div> <div id="remark42" style="margin-top: 2rem"></div>