mirror of
https://gitlab.com/brutaldon/brutaldon
synced 2025-06-05 21:49:32 +02:00
Don't show card images where they may be redundant
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user