feat: show media on home page
This commit is contained in:
parent
16f89faba0
commit
53d09a057e
1 changed files with 0 additions and 2 deletions
|
@ -25,7 +25,6 @@
|
|||
|
||||
<div class="body">
|
||||
{{thread.content | safe}}
|
||||
{% if thread.descendants is defined %}
|
||||
{% for media in thread.media_attachments %}
|
||||
{% if media.type == 'image'%}
|
||||
<a href="{{ media.url }}">
|
||||
|
@ -53,7 +52,6 @@
|
|||
</video>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if thread.media_attachments|length <= 0 and thread.card %}
|
||||
<a href="{{ thread.card.url }}">
|
||||
<div class="link_card">
|
||||
|
|
Loading…
Reference in a new issue