diff options
Diffstat (limited to 'design/templates/lib/img_picwide.html')
-rw-r--r-- | design/templates/lib/img_picwide.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/lib/img_picwide.html b/design/templates/lib/img_picwide.html index be2b779..4e96951 100644 --- a/design/templates/lib/img_picwide.html +++ b/design/templates/lib/img_picwide.html @@ -4,6 +4,6 @@ <img class="picwide" sizes="(max-width: 1140px) 100vw, (min-width: 1141px) 1140px" srcset="{% for size in image.sizes.all%}{% get_image_by_size image size %} {{size}}w{% if forloop.last%}"{%else%}, {%endif%}{%endfor%} {% for size in image.sizes.all%}{%if not forloop.first and not forloop.last%}src="{% get_image_by_size image size %}"{%endif%}{%endfor%} alt="{{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%}"> -{% if caption or exif %}<figcaption>{% endif %}{% if caption %}{{image.caption}}{% endif %}{% if exif %} | <small>Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}</small>{% endif %}{% if caption or exif %}</figcaption> +{% if caption or exif %}<figcaption>{% endif %}{% if caption %}{{image.caption|safe}}{% endif %}{% if exif %} | <small>Camera: {{image.exif_make}} {{image.exif_model}} with {{image.exif_lens}}</small>{% endif %}{% if caption or exif %}</figcaption> </figure> {% endif %} |