{% if not Config.get('comments', 'requires_login') or current_user.is_authenticated() %}
{% else %}
Login to add a comment
{% endif %}
{% if request.method == "POST" and not current_user.is_authenticated() %}
Thanks, your comment will be moderated!
{% endif %}
{% for comment in comments %}
{% if comment.gravatar_email %}
{% endif %}
@{{comment.author_name}} at {{comment.created_at.strftime("%m/%d/%Y %H:%M")}}
{{comment.body|urlize|markdown}}
{%for reply in comment.replies.filter(parent="") %}
@{{reply.author_name}} at {{reply.created_at.strftime("%m/%d/%Y %H:%M")}}
{{reply.body|urlize|markdown}}
{%for treply in comment.replies.filter(parent=reply.uid) %}
@{{treply.author_name}} at {{treply.created_at.strftime("%m/%d/%Y %H:%M")}}
@{{comment.author_name}} at {{comment.created_at.strftime("%m/%d/%Y %H:%M")}}
@{{reply.author_name}} at {{reply.created_at.strftime("%m/%d/%Y %H:%M")}}
{{reply.body|urlize|markdown}} {%for treply in comment.replies.filter(parent=reply.uid) %}@{{treply.author_name}} at {{treply.created_at.strftime("%m/%d/%Y %H:%M")}}
{{treply.body|urlize|markdown}}