Skip to content

Commit 99aaacb

Browse files
committed
we are now trying giscus for comments :/
1 parent f45b40c commit 99aaacb

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

_config.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -107,28 +107,25 @@ social_preview_image: # string, local or CORS resources
107107
# boolean type, the global switch for TOC in posts.
108108
toc: true
109109

110-
comments:
110+
comments:
111111
# Global switch for the post-comment system. Keeping it empty means disabled.
112-
provider: utterances # [disqus | utterances | giscus]
112+
provider: giscus # [disqus | utterances | giscus]
113113
# The provider options are as follows:
114114
disqus:
115115
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
116116
# utterances settings › https://utteranc.es/
117117
utterances:
118-
repo: slavetomints/website-comments
119-
issue-term: pathname
120-
label: Comment
121-
theme: github-dark
122-
crossorigin: anonymous
118+
repo: # <gh-username>/<repo>
119+
issue_term: # < url | pathname | title | ...>
123120
# Giscus options › https://giscus.app
124121
giscus:
125-
repo: # <gh-username>/<repo>
126-
repo_id:
127-
category:
128-
category_id:
122+
repo: slavetomints/website-comments# <gh-username>/<repo>
123+
repo_id: R_kgDOOZwjRQ
124+
category: Announcements
125+
category_id: DIC_kwDOOZwjRc4CpG68
129126
mapping: # optional, default to 'pathname'
130-
strict: # optional, default to '0'
131-
input_position: # optional, default to 'bottom'
127+
strict: 1 # optional, default to '0'
128+
input_position: top # optional, default to 'bottom'
132129
lang: # optional, default to the value of `site.lang`
133130
reactions_enabled: # optional, default to the value of `1`
134131

0 commit comments

Comments
 (0)