From fc1081c09800edb2fbe011dd4e48d13dc1336541 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 18 Apr 2018 11:49:59 -0400 Subject: fixed image captions in clusters --- design/templates/lib/img_cluster.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'design/templates/lib/img_cluster.html') diff --git a/design/templates/lib/img_cluster.html b/design/templates/lib/img_cluster.html index 3405743..7582f7a 100644 --- a/design/templates/lib/img_cluster.html +++ b/design/templates/lib/img_cluster.html @@ -3,6 +3,6 @@
{%endif%} {%if image.alt %}{{image.alt}}{%else%}{{image.title}}{%endif%} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%} -{% if caption or exif or image.photo_credit_source and cluster_class != "pic5" %}
{% endif %}{% if caption %}{{image.caption|safe}}{% endif %}{% if exif %} | Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}{% endif %}{% if image.photo_credit_source %}{%if caption or exif %} | {%endif%}image by {% if image.photo_credit_url %}{%endif%}{{image.photo_credit_source}}{% if image.photo_credit_url %}{%endif%}{%endif%}{% if caption or exif or image.photo_credit_source and cluster_class != "pic5" %}
-
+{% if cluster_class != "pic5"%}{% if caption or exif or image.photo_credit_source %}
{% endif %}{% if caption %}{{image.caption|safe}}{% endif %}{% if exif %} | Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}{% endif %}{% if image.photo_credit_source %}{%if caption or exif %} | {%endif%}image by {% if image.photo_credit_url %}{%endif%}{{image.photo_credit_source}}{% if image.photo_credit_url %}{%endif%}{%endif%}{% if caption or exif or image.photo_credit_source and cluster_class != "pic5" %}
+{%endif%} {% endif %} -- cgit v1.2.3-70-g09d2