Skip to content

Commit aafa27d

Browse files
add giscus comments to posts and spectra
1 parent 75a2008 commit aafa27d

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

_config.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ enable_copy_code_button : true # true, false (default)
3232
copyright : # "copyright" name, defaults to site.title
3333
copyright_url : # "copyright" URL, defaults to site.url
3434
comments:
35-
provider : # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "giscus", "custom"
35+
provider : "giscus" # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "giscus", "custom"
3636
disqus:
3737
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
3838
discourse:
@@ -46,9 +46,9 @@ comments:
4646
theme : # "github-light" (default), "github-dark"
4747
issue_term : # "pathname" (default)
4848
giscus:
49-
repo_id : # Shown during giscus setup at https://giscus.app
50-
category_name : # Full text name of the category
51-
category_id : # Shown during giscus setup at https://giscus.app
49+
repo_id : "R_kgDOHbMc6w" # Shown during giscus setup at https://giscus.app
50+
category_name : "Announcements" # Full text name of the category
51+
category_id : "DIC_kwDOHbMc684CQCYb" # Shown during giscus setup at https://giscus.app
5252
discussion_term : # "pathname" (default), "url", "title", "og:title"
5353
reactions_enabled : # '1' for enabled (default), '0' for disabled
5454
theme : # "light" (default), "dark", "dark_dimmed", "transparent_dark", "preferred_color_scheme"
@@ -316,6 +316,7 @@ defaults:
316316
share: true
317317
related: true
318318
show_date: true
319+
comments: true
319320

320321
# _pages
321322
- scope:
@@ -325,6 +326,7 @@ defaults:
325326
layout: single
326327
author_profile: false
327328
sitemap: true
329+
comments: false
328330

329331
- scope:
330332
path: ""
@@ -338,5 +340,6 @@ defaults:
338340
related: false
339341
classes: wide
340342
show_date: false
343+
comments: true
341344
sidebar:
342345
nav: "isotopes"

0 commit comments

Comments
 (0)