{% capture comments_label %}{{ site.data.ui-text[site.locale].comments_label | default: "Comments" }}{% endcapture %}
{% case site.comments.provider %}
{% when "disqus" %}
{% when "facebook" %}
{% when "google-plus" %}
{% when "staticman" %}
{% when "custom" %}
{% endcase %}
{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}
{% assign comments = site.data.comments[page.slug] | sort %} {% for comment in comments %} {% assign email = comment[1].email %} {% assign name = comment[1].name %} {% assign url = comment[1].url %} {% assign date = comment[1].date %} {% assign message = comment[1].message %} {% include comment.html index=forloop.index email=email name=name url=url date=date message=message %} {% endfor %} {% endif %}{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}
{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} *
{% endif %}