I've made a website based on Github pages using Jekyll Theme. Currently I can post blogs in that website as well. However, I want to add a comments section at the end of the blog posts.
There are tutorials on how to add comments sections using Disqus. But I think that to use Disqus one needs to have a paid subscription. So I am looking for an alternative to Disqus to add a comments section.
Sharing any idea about it will be appreciated.
You can comment on a closed or merged pull request, but you cannot merge or reopen it.
There is a feature "Close with Comment" in GitHub that allows the user to comment on why they are closing the issue. The GitHub plugin does not take this comment into account when creating the post.
You can edit files directly on GitHub in any of your repositories using the file editor.
Hover over the line of code where you'd like to add a comment, and click the blue comment icon. To add a comment on multiple lines, click and drag to select the range of lines, then click the blue comment icon. In the comment field, type your comment.
You can use GitHub Issues themselves, in a public repo, as a commenting system, via a 3rd-party GitHub plugin called "utterances". See here:
Other options also exist. Michael Rose, the creator of the #1 most popular GitHub-Pages-compatible minimal-mistakes Jekyll theme (see a demo here), has put together a short list of commenting systems here.
Update Jan. 2021: I have now implemented Utterances on my personal website here: https://gabrielstaples.com/. Example page: https://gabrielstaples.com/google-pixel2-touchscreen/ -- scroll to the bottom to see the Utterances (GitHub Issues-based) comment section.
Old answer
(this is how to manually use GitHub Issues as a commenting system, withOUT using utterances):
Give this a shot. This blog describes using a GitHub Issue to store comments for your static website: https://jekyllcodex.org/blog/gdpr-compliant-comment/
Here are some comment examples you can see at the bottom of the blog post. They support markdown syntax and look very nice:
And they come directly from a GitHub issue, as can be seen on GitHub here:
Note that you typically cannot use comments in a static site. You need a third-party solution, or you need to use the Github hack to create GDPR compliant comments.
Staticman is an option.
You can find more solutions by searching for 'comments' at https://www.thenewdynamic.org.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With