Skip to content

Commit 1e06d3a

Browse files
committed
feat: use giscus for commets
1 parent 703bad2 commit 1e06d3a

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

_config.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ social_preview_image: # string, local or CORS resources
8686
toc: true
8787

8888
comments:
89-
active: disqus # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable
89+
active: giscus # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable
9090
# The active options are as follows:
9191
disqus:
9292
shortname: dat2phit # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
@@ -96,14 +96,14 @@ comments:
9696
issue_term: # < url | pathname | title | ...>
9797
# Giscus options › https://giscus.app
9898
giscus:
99-
repo: # <gh-username>/<repo>
100-
repo_id:
101-
category:
102-
category_id:
103-
mapping: # optional, default to 'pathname'
104-
input_position: # optional, default to 'bottom'
99+
repo: PSDat123/psdat123.github.io # <gh-username>/<repo>
100+
repo_id: R_kgDOLTW2AA
101+
category: Comments
102+
category_id: DIC_kwDOLTW2AM4CdX9P
103+
mapping: title # optional, default to 'pathname'
104+
input_position: top # optional, default to 'bottom'
105105
lang: # optional, default to the value of `site.lang`
106-
reactions_enabled: # optional, default to the value of `1`
106+
reactions_enabled: 1 # optional, default to the value of `1`
107107

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

0 commit comments

Comments
 (0)