X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/7c8f6fe9ddb0285e0b7c80bc0ff8814304ac2f6e..5d3277b79ffef805948ca0e105135d13179926b6:/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 9932b677b..118f3ac55 100755 --- a/apps/wolnelektury_core/templates/main_page.html +++ b/apps/wolnelektury_core/templates/main_page.html @@ -1,106 +1,88 @@ {% extends "base.html" %} {% load static from staticfiles %} -{% load cache chunks i18n catalogue_tags infopages_tags social_tags %} +{% load i18n catalogue_tags infopages_tags social_tags %} +{% load ssi_include from ssify %} {% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %} {% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %} -{% block body %} -
{% trans "Image used:" %} -{% 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 %} + + + +{% endspaceless %}{% endblock %} + + +{% block add_footer %}{% spaceless %} +{{ cite_pk.if }} +{% trans "Image used:" %}
+ {% ssi_include 'social_cite_info' pk=cite_pk %} + +{{ cite_pk.endif }} +{% endspaceless %}{% endblock %}