-
-
Notifications
You must be signed in to change notification settings - Fork 329
fix(giscus): theme and language #783
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for hugo-hextra ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
1257862
to
74a5f85
Compare
74a5f85
to
c0f4a4f
Compare
20b9a55
to
d4a94b0
Compare
Sorry, I added several commits after opening the PR because I found other bugs. |
} | ||
}); | ||
</script> | ||
|
||
<div id="giscus"></div> | ||
<div id="giscus-hextra-bb112b9f807c37c1752e5da6a1652a29"></div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious where is this id from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a random hash to be sure to have a unique ID.
Currently, without my PR, if you enable Giscuss and go to the page http://localhost:1313/docs/advanced/comments/ you will see the problem.
The problem happens because the page contains 2 elements with the id giscuss
: a title inside the page and the Giscuss div
at the bottom of the page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, thanks for the explanation. Might worth adding a line of comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
system
themedocs/advanced/comments/
Closes #358