1
0
mirror of https://gitlab.com/brutaldon/brutaldon.git synced 2024-06-15 17:35:23 +00:00

Don't show card images where they may be redundant

This commit is contained in:
Jason McBrayer 2018-12-03 08:48:01 -05:00
parent d1873e3bd8
commit 23b799c022

View File

@ -59,11 +59,12 @@
<a href="{{ toot.card.url }}"> {{ toot.card.title }} </a>
</div>
</div>
{% if toot.card.image %}
{% if toot.card.image and not toot.media_attachments %}
<div class="card-image">
<figure>
<a href="{{ toot.card.url }}">
<img class="image is-max-256" alt="{{ toot.card.title }}" src="{{ toot.card.image }}">
<img class="image is-max-256" alt="{{ toot.card.title }}"
src="{{ toot.card.image }}">
</a>
</figure>
</div>