Fix bug - include section for Discourse embedded comments (#825)

This commit is contained in:
Geoff Hutchison 2017-02-08 15:52:39 -05:00 committed by Michael Rose
parent ac938d457b
commit b86240b26a

View file

@ -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>
@ -77,4 +80,4 @@
{% when "custom" %}
<section id="custom-comments"></section>
{% endcase %}
</div>
</div>