[PLUGIN][ImageEncoder] Only show thumbnails if they exist
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<figure>
|
||||
{% set thumbnail = attachment.getThumbnail() %}
|
||||
<img class="u-photo"
|
||||
alt="{{ attachment.getBestTitle(note) }}"
|
||||
src="{{ attachment.getThumbnailUrl() }}"
|
||||
|
Reference in New Issue
Block a user