From bf2fa131cba6430ba93f584f4693c3444e0c455f Mon Sep 17 00:00:00 2001 From: lxf Date: Sat, 30 Oct 2021 17:22:29 -0400 Subject: base: added a base template dir --- templates/lib/img_product.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 templates/lib/img_product.html (limited to 'templates/lib/img_product.html') diff --git a/templates/lib/img_product.html b/templates/lib/img_product.html new file mode 100644 index 0000000..58dd43e --- /dev/null +++ b/templates/lib/img_product.html @@ -0,0 +1,10 @@ +{% load get_image_by_size %} +{% load get_image_width %} +{% 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