X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f82fa14e5f5b02994272fc0b588e557d5be6f2a4..3c0e373447323b5e33b273859e790a2054771afa:/src/social/templates/social/cite_info.html diff --git a/src/social/templates/social/cite_info.html b/src/social/templates/social/cite_info.html index 8f8e16d11..1f75c18e3 100644 --- a/src/social/templates/social/cite_info.html +++ b/src/social/templates/social/cite_info.html @@ -1,19 +1,17 @@ {% spaceless %} - -{% if cite.image %} + {% if cite.image %} {% if cite.image_link %}{% endif %} {% if cite.image_title %} - {{ cite.image_title }}{% else %} - untitled{% endif %}{% if cite.image_link %}{% endif %}{% if cite.image_author %}, - {{ cite.image_author }}{% endif %}{% if cite.image_license %}, - {% if cite.image_license_link %}{% endif %} - {{ cite.image_license }} - {% if cite.image_license_link %}{% endif %} + {{ cite.image_title }}{% else %} + untitled{% endif %}{% if cite.image_link %}{% endif %}{% if cite.image_author %}, + {{ cite.image_author }}{% endif %}{% if cite.image_license %}, + {% if cite.image_license_link %}{% endif %} + {{ cite.image_license }} + {% if cite.image_license_link %}{% endif %} {% endif %} -{% else %} + {% else %} books about architecture, saikofish@Flickr, CC BY NC SA. -{% endif %} - + {% endif %} {% endspaceless %}