{% if header %}

Comments

{% endif %} There {% if comments|length == 1 %}is{% else %}are{% endif %} {{ comments|length }} comment{% if comments|length != 1 %}s{% endif %} on this page.

{% for comment in comments %}

{% if comment["image"] and (comment["image"].startswith('http:') or comment["image"].startswith('https:') or comment["image"].startswith('//')) %} Avatar {% elif comment["image"] %} Avatar {% else %} guest {% endif %}
{% if comment['username'] %}{{ comment['username'] }}{% else %}guest{% endif %}
Posted on {{ comment["pretty_time"] }} by {{ comment["name"] }}.

{{ comment["formatted_message"]|safe }}

{% if session["login"] or comment["editable"] %} [ {% if session["login"] %} IP: {{ comment["ip"] }} {% else %} You recently posted this {% endif %} | Edit | Delete ] {% endif %}

{% endfor %}

Add a Comment

{% include "comment/form.inc.html" %}