From 457b77dd485f08616bd597492cdc26ed89ae92d3 Mon Sep 17 00:00:00 2001
From: Emile Bangma <github@emilebangma.com>
Date: Sat, 22 Mar 2025 02:59:43 +0000
Subject: [PATCH] fix(frontmatter): prevent slug duplication through frontmatter (#1860)

---
 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