From eccad3da5d7b84b0f78a85b357efedef8c0127fc Mon Sep 17 00:00:00 2001 From: Jacky Zhao <j.zhao2k19@gmail.com> Date: Wed, 19 Mar 2025 04:48:24 +0000 Subject: [PATCH] fix(lastmod): fallback to ctx.arg.directory instead of empty string --- 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