diff --git a/app/templates/post/_post_teaser_masonry.html b/app/templates/post/_post_teaser_masonry.html index 043eb568..f2536e51 100644 --- a/app/templates/post/_post_teaser_masonry.html +++ b/app/templates/post/_post_teaser_masonry.html @@ -34,10 +34,10 @@

{{ post.title|shorten(25) }}

{% else %} - {% if post.url and (post.url.endswith('.jpg') or post.url.endswith('.webp') or post.url.endswith('.png') or post.url.endswith('.gif')) %} + {% if post.url and (post.url.endswith('.jpg') or post.url.endswith('.webp') or post.url.endswith('.png') or post.url.endswith('.gif') or post.url.endswith('.avif')) %}
{{ post.title }} + alt="{{ post.title }}" loading="{{ 'lazy' if low_bandwidth else 'eager' }}" />

{{ post.title|shorten(25) }}