{% extends 'base.html' %} {% block content %} ← Back to Feed
{{ rant.user_username[0]|upper }}
{% if current_user and current_user.id == rant.user_id %} {% endif %}
{{ escape_html(rant.text) }}
{% if rant.attached_image %} Rant image {% endif %} {% if rant.tags %}
{% for tag in rant.tags %} {{ tag }} {% endfor %}
{% endif %}

Comments ({{ comments|length }})

{% for comment in comments %}
{{ comment.user_username[0]|upper }}
{% if current_user and current_user.id == comment.user_id %} {% endif %}
{{ escape_html(comment.body) }}
{% endfor %}
{% if current_user %}

Add a comment

{% else %}

Login to comment

{% endif %}
{% endblock %}