_includes/comments.html
in your _includes
dir_sass/comments.scss
in your _scss
dir@import _comments
in your css file{% include comments.html %}
in your layouts file, where you want the see the commentsgithub_username
and repository_name
in your _config.yml
issueID
in your post_config.yml
...
github_username: gioditalia
repository_name: gioditalia.github.io
...
_layouts/default.html (every page can be commented need only "issueID")
<!DOCTYPE html>
<html>
{% include head.html %}
<body>
{% include header.html %}
<div class="page-content">
<div class="wrapper">
{{ content }}
</div>
{% include comments.html %}
</div>
{% include footer.html %}
</body>
</html>
_post/2016-12-27-example.md
---
layout: post
title: "Example!"
date: 2016-12-27
categories: jekyll news
issueID: 10
---
some text...
The code was written after i read this article,then I thank the author for the idea.