{% if site.staticman.repository and site.staticman.branch %}
{% if site.data.comments[page.slug] %}

{{ 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 staticman-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" }} *


{{ site.data.ui-text[site.locale].comment_success_msg | default: "Thanks for your comment! It will show on the site once it has been approved." }} {{ site.data.ui-text[site.locale].comment_error_msg | default: "Sorry, there was an error with your submission. Please make sure all required fields have been completed and try again." }}

{% if site.staticman.reCaptcha.siteKey %}
{% endif %}
{% if site.staticman.reCaptcha.siteKey %} {% endif %}
{% endif %}