Skip to content

Commit

Permalink
Fix bug - include section for Discourse embedded comments (#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghutchis authored and mmistakes committed Feb 8, 2017
1 parent ac938d4 commit b86240b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion _includes/comments.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<div class="page__comments">
{% capture comments_label %}{{ site.data.ui-text[site.locale].comments_label | default: "Comments" }}{% endcapture %}
{% case site.comments.provider %}
{% when "discourse" %}
<h4 class="page__comments-title">{{ comments_label }}</h4>
<section id="discourse-comments"></section>
{% when "disqus" %}
<h4 class="page__comments-title">{{ comments_label }}</h4>
<section id="disqus_thread"></section>
Expand Down Expand Up @@ -77,4 +80,4 @@ <h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_labe
{% when "custom" %}
<section id="custom-comments"></section>
{% endcase %}
</div>
</div>

0 comments on commit b86240b

Please sign in to comment.