From 2e6a675edddd25a71ecfddc73e0e292cb21d5981 Mon Sep 17 00:00:00 2001 From: Aaron Pham <contact@aarnphm.xyz> Date: Wed, 01 Jan 2025 20:24:32 +0000 Subject: [PATCH] perf: reduce bundle size (closes #1607) (#1689) --- 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