perf!: rename comment setting parameter (#1563)

Rename `site.comments.active` to `site.comments.provider`
This commit is contained in:
Cotes Chung 2024-02-27 01:39:04 +08:00 committed by GitHub
parent e4363871b5
commit f8390d4384
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,8 +98,9 @@ social_preview_image: # string, local or CORS resources
toc: true toc: true
comments: comments:
active: # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable # Global switch for the post comment system. Keeping it empty means disabled.
# The active options are as follows: provider: # [disqus | utterances | giscus]
# The provider options are as follows:
disqus: disqus:
shortname: # fill with the Disqus shortname. https://help.disqus.com/en/articles/1717111-what-s-a-shortname shortname: # fill with the Disqus shortname. https://help.disqus.com/en/articles/1717111-what-s-a-shortname
# utterances settings https://utteranc.es/ # utterances settings https://utteranc.es/