Skip to content

Commit

Permalink
Add a block with comments to the posts
Browse files Browse the repository at this point in the history
This is a preliminary version of loading comments.
  • Loading branch information
torrocus committed Jan 28, 2024
1 parent 1f2dd31 commit d3a588b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions _includes/github-comments.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{% if site.github_comments_repository and page.github_comments_issue_id %}

<div id="github-comments">
<h6>Comments</h6>
<div id="github-comments-list"></div>
</div>

<script src="{{ site.baseurl }}/assets/javascripts/github-comments.js"></script>

<script type="text/javascript">
DoGithubComments (
"{{ site.github_comments_repository }}" ,
"{{ page.github_comments_issue_id }}"
);
</script>

<noscript>Please enable JavaScript to view comments.</noscript>

{% endif %}

0 comments on commit d3a588b

Please sign in to comment.