{{thread.content | safe}}
{% for media in thread.media_attachments %}
{% if media.type == 'image'%}

{% elif media.type == 'gifv' %}
{% endif %}
{% endfor %}
{% if thread.descendants %}
{% for descendant in thread.descendants %}
-
{% if descendant.account.avatar is defined %}

{% endif %}
{{ descendant.content | safe }}
{% for media in descendant.media_attachments%}
{% if media.type == 'image'%}

{% elif media.type == 'gifv' %}
{% endif %}
{% endfor %}
-
{% endfor %}
{% else %}
Read full thread
{% endif %}