Very basic image display

This commit is contained in:
Mouse Reeve 2020-11-24 11:28:17 -08:00
parent ad7ce6595b
commit 45a0bd79fd

View file

@ -18,6 +18,13 @@
{% if status.content and status.status_type != 'GeneratedNote' and status.status_type != 'Boost' %}
{% include 'snippets/trimmed_text.html' with full=status.content|safe %}
{% endif %}
{% if status.attachments %}
<div>
{% for attachment in status.attachments.all %}
<img src="/images/{{ attachment.image }}">
{% endfor %}
</div>
{% endif %}
</div>
{% if not hide_book %}