X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8615d540551e222c91409c7f37f9f237f520b88e..560fda9dbc19a0019af8449b3d3393305fffa743:/apps/wolnelektury_core/templates/main_page.html diff --git a/apps/wolnelektury_core/templates/main_page.html b/apps/wolnelektury_core/templates/main_page.html index fb9b144c4..ef703fadf 100755 --- a/apps/wolnelektury_core/templates/main_page.html +++ b/apps/wolnelektury_core/templates/main_page.html @@ -7,9 +7,12 @@ {% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %} {% block body %} - -
- {% cite_promo %} +
+ {% render_cite cite %}
{% spaceless %} @@ -49,7 +52,6 @@

{% trans "Information" %}

+
@@ -87,8 +96,19 @@ {% block add_footer %}

{% trans "Image used:" %} -books about architecture, -saikofish@Flickr, -CC BY NC SA. +{% 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_link %}{% endif %} + {{ cite.image_license }} + {% if cite.image_license_link %}{% endif %} +{% else %} + books about architecture, + saikofish@Flickr, + CC BY NC SA. +{% endif %}

{% endblock %}