{# Single comment item - Used recursively for threading #}
{{ comment.user.username if comment.user else 'Unknown' }} {{ comment.created_at.strftime('%Y-%m-%d %H:%M') }} {% if comment.user_comment_style == 'm' %} Markdown {% elif comment.user_comment_style == 'h' %} HTML {% endif %}
{{ comment.content|safe }}
{% if config.ALLOW_THREADING and comment.replies %}
{% for reply in comment.replies %} {% with comment=reply %} {% include 'qdcomments/comment_item.html' %} {% endwith %} {% endfor %}
{% endif %}