feat(comments): conditional display via frontmatter (#1566)
This commit is contained in:
parent
a6b2967df8
commit
31e0b7c6f8
3 changed files with 20 additions and 1 deletions
|
@ -114,3 +114,14 @@ afterBody: [
|
|||
}),
|
||||
],
|
||||
```
|
||||
|
||||
#### 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
|
||||
---
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue