X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ab8ffbde2df33d9c699e029ba613d2b014ba44b8..e9f9c3887d9c9e45401257a78d3182f17a5a8146:/apps/picture/templates/picture/picture_detail.html diff --git a/apps/picture/templates/picture/picture_detail.html b/apps/picture/templates/picture/picture_detail.html index ef4042c96..514f8c3e8 100644 --- a/apps/picture/templates/picture/picture_detail.html +++ b/apps/picture/templates/picture/picture_detail.html @@ -2,6 +2,10 @@ {% load i18n %} {% load picture_tags catalogue_tags pagination_tags %} {% load thumbnail %} +{% load build_absolute_uri from fnp_common %} + + +{% block ogimage %}{% thumbnail picture.image_file "535" upscale="false" as thumb %}{{ thumb.url|build_absolute_uri:request }}{% endthumbnail %}{% endblock %} {% block titleextra %}{{ picture.title }}{% endblock %} @@ -10,4 +14,13 @@ {% block body %} {% picture_wide picture %} + +{% spaceless %} + +
+

{% trans "See also" %}:

+{% related_books picture %} +
+{% endspaceless %} + {% endblock %}