Giscus
#2474
Replies: 1 comment
-
Convert
|
Giscus <script> Attribute |
_config.yml Key |
Value |
---|---|---|
data-repo |
repo |
lakshyagithub/lakshyagithub.github.io |
data-repo-id |
repo_id |
R_kgDOOxyq-w |
data-category |
category |
General |
data-category-id |
category_id |
DIC_kwDOOxyq-84CqskJ |
data-mapping |
mapping |
pathname |
data-strict |
strict |
0 |
data-input-position |
input_position |
bottom |
data-lang |
lang |
en |
data-reactions-enabled |
reactions_enabled |
1 |
5. Enable Comments on Posts
In each post or page where you want Giscus to appear, add this to the front matter:
comments: true
Notes
- You can leave out
emit-metadata
,theme
,crossorigin
, andasync
as they are handled internally by the theme. - Be sure your post layout includes
{% include comments.html %}
(already present in most themes like Chirpy).
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Description
Love this theme. works great. Trying to configure giscus. I've filled out the info in _config but I am still not seeing comments on my posts or pages. Is there something in the html or markdown i need to include? do i need to add the giscus app to my repo? I've tried both with and without giscus app on the repo.
the repo is public and discussions is enabled. Not sure what I am missing?
Beta Was this translation helpful? Give feedback.
All reactions