8f8e16d1189a76823781b73515ac0ab06721c75b
[wolnelektury.git] / src / social / templates / social / cite_info.html
1 {% spaceless %}
2
3 {% if cite.image %}
4     {% if cite.image_link %}<a href="{{ cite.image_link }}">{% endif %}
5     {% if cite.image_title %}
6         {{ cite.image_title }}{% else %}
7         untitled{% endif %}{% if cite.image_link %}</a>{% endif %}{% if cite.image_author %}, 
8         {{ cite.image_author }}{% endif %}{% if cite.image_license %},
9     {% if cite.image_license_link %}<a href="{{ cite.image_license_link }}">{% endif %}
10     {{ cite.image_license }}
11     {% if cite.image_license_link %}</a>{% endif %}
12     {% endif %}
13 {% else %}
14     <a href="http://www.flickr.com/photos/lou/430980641/">books about architecture</a>,
15     saikofish@Flickr,
16     <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/">CC BY NC SA</a>.
17 {% endif %}
18
19 {% endspaceless %}