From f658ca4a9fd7b30e5fe09c4008b639935af7e598 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Sun, 21 Jan 2024 17:05:46 +1300 Subject: [PATCH] masonry tile - titles --- app/templates/post/_post_teaser_masonry.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/templates/post/_post_teaser_masonry.html b/app/templates/post/_post_teaser_masonry.html index f2536e51..12b0fb50 100644 --- a/app/templates/post/_post_teaser_masonry.html +++ b/app/templates/post/_post_teaser_masonry.html @@ -10,7 +10,7 @@ {% elif post_layout == 'masonry_wide' %} {% set thumbnail = post.image.view_url() %} {% endif %} -
+
{% if post.type == POST_TYPE_LINK %} {% if post.image.thumbnail_url() %} {{ post.title }} {% else %} {{ post.title }} + alt="{{ post.title }}" loading="{{ 'lazy' if low_bandwidth else 'eager' }}" /> {% endif %} {% elif post.type == POST_TYPE_IMAGE %} {% else %} {% 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')) %} -