From be9fdeb639e3c11b9e4c6c64ebf350d591109481 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 30 Apr 2019 08:23:01 -0500 Subject: added state to homepage --- design/templates/lib/img_blok.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 design/templates/lib/img_blok.html (limited to 'design/templates/lib/img_blok.html') diff --git a/design/templates/lib/img_blok.html b/design/templates/lib/img_blok.html new file mode 100644 index 0000000..b7ed58b --- /dev/null +++ b/design/templates/lib/img_blok.html @@ -0,0 +1,9 @@ +{% load get_image_by_size %} +{% if caption or exif or image.photo_credit_source %} +{%else%}{%if not is_cluster %}
{%endif%}{%endif%} + + {{image.alt}} photographed by {% if image.photo_credit_source %}{{image.photo_credit_source}}{%else%}luxagraf{%endif%} + +{% 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%}{%endif%}{% if caption or exif or image.photo_credit_source %}
+{%else%}{%if not is_cluster %}
{%endif%} +{% endif %} -- cgit v1.2.3-70-g09d2