docs: update the setting name for the comments

This commit is contained in:
Cotes Chung 2024-12-22 02:32:03 +08:00
parent 32051dad03
commit 1b93f6db9b
No known key found for this signature in database
GPG key ID: 0D9E54843167A808

View file

@ -97,7 +97,7 @@ toc: false
## Comments
The global switch of comments is defined by variable `comments.active` in the file `_config.yml`{: .filepath}. After selecting a comment system for this variable, comments will be turned on for all posts.
The global setting for comments is defined by the `comments.provider` option in the `_config.yml`{: .filepath} file. Once a comment system is selected for this variable, comments will be enabled for all posts.
If you want to close the comment for a specific post, add the following to the **Front Matter** of the post: