{% extends "base.html" %} {% load humanize %} {% block content %} {% for toot in toots %}

{{ toot.account.display_name }} @{{ toot.account.username }} {{ toot.created_at |naturaltime }}
{{ toot.content | safe }}

{% if toot.media_attachments %}
{% for media in toot.media_attachments %} 
                                      {% if media.text_url  %}
                                      {{ media.text_url }}
                                      {% else %}
                                      {{ media.url  }}
                                      {% endif %} {% endfor %}
{% endif %}
{% endfor %} {% endblock %}