-
-
Notifications
You must be signed in to change notification settings - Fork 302
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
Get the number of comments outside of the blog page #145
Comments
Hey, thanks for the suggestion. This was also brought up in #113 (reply in thread). As much as I like to have this, I don't see how this could be implemented elegantly from giscus' side. This would need a separate script that could recognize and handle all the blog posts on the current page. I haven't thought of a clean design to implement this. If you have any ideas for the implementation, feel free to let me know. Otherwise, I'd suggest calling GitHub's API directly. |
Hi @laymonage, |
I've implemented this for my blog. Maybe someone will find it helpful: https://github.com/typeofweb/typeofweb.com/blob/main/generateCommentsCount.ts |
I would like to get the number of comments made in a blog post. The goal is to show something like this:
This is a good feature to have.
When looking at the comments counter, I just see a link to the discussion in the repo.
The text was updated successfully, but these errors were encountered: