From 5a5ef670fee5f5f65981801a7ec9c2e563fe99ad Mon Sep 17 00:00:00 2001
From: Francisco Gama T. R. <francisco@ironik.org>
Date: Tue, 03 Dec 2024 06:56:59 +0000
Subject: [PATCH] fix(darkmode): check for null (#1531)

---
 docs/features/comments.md |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/docs/features/comments.md b/docs/features/comments.md
index 1f11eff..4803773 100644
--- a/docs/features/comments.md
+++ b/docs/features/comments.md
@@ -114,3 +114,14 @@
   }),
 ],
 ```
+
+#### Conditionally display comments
+
+Quartz can conditionally display the comment box based on a field `comments` in the frontmatter. By default, all pages will display comments, to disable it for a specific page, set `comments` to `false`.
+
+```
+---
+title: Comments disabled here!
+comments: false
+---
+```

--
Gitblit v1.10.0