~xdavidwu/xdavidwu.link

be7a575b878ea6495986e03286c665228b47f3d4 — Geoff Hutchison 8 years ago b1834b3
Fix bug - include section for Discourse embedded comments (#825)

1 files changed, 4 insertions(+), 1 deletions(-)

M _includes/comments.html
M _includes/comments.html => _includes/comments.html +4 -1
@@ 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>
\ No newline at end of file
</div>