{% load static %}

{% if count %}{{ count }} comment{{ count|pluralize }}{% else %}Comments{% endif %}

{% if posted == "pending" %}

Thank you: your comment will appear once it has been approved.

{% elif posted == "approved" %}

Your comment has been posted.

{% endif %} {% if comments %}
    {% for comment in comments %}{% include "heckle/_comment.html" %}{% endfor %}
{% endif %} {% if open %}{% include "heckle/_form.html" %}{% else %}

Comments are closed.

{% endif %}