Skip to content

Commit 9d81d91

Browse files
switch comments system to Giscus and update configuration settings
1 parent f17ea86 commit 9d81d91

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ toc: true
107107
# shortname: 'jerrylinlinlin-github-io' # Fill with your Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
108108

109109
comments:
110-
active: # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable
110+
active: 'giscus' # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable
111111
# The active options are as follows:
112112
disqus:
113113
shortname: 'jerrylinlinlin-github-io'
@@ -121,10 +121,10 @@ comments:
121121
repo_id: "MDEwOlJlcG9zaXRvcnkzODg3NzE4NjI="
122122
category: "General"
123123
category_id: "DIC_kwDOFywwFs4CYBvu"
124-
mapping: # optional, default to 'pathname'
125-
input_position: # optional, default to 'bottom'
124+
mapping: 'pathname' # optional, default to 'pathname'
125+
input_position: 'bottom' # optional, default to 'bottom'
126126
lang: # optional, default to the value of `site.lang`
127-
reactions_enabled: # optional, default to the value of `1`
127+
reactions_enabled: 1 # optional, default to the value of `1`
128128

129129
# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets
130130
assets:

0 commit comments

Comments
 (0)