X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6280673f35e13e75e81c5b7821bd2a44a1831eab..357027375ff8867f42ca34bcbfb5a78b5b185fc3:/src/picture/templates/picture/picture_detail.html diff --git a/src/picture/templates/picture/picture_detail.html b/src/picture/templates/picture/picture_detail.html new file mode 100644 index 000000000..514f8c3e8 --- /dev/null +++ b/src/picture/templates/picture/picture_detail.html @@ -0,0 +1,26 @@ +{% extends "base.html" %} +{% 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 %} + +{% block bodyid %}picture-detail{% endblock %} + +{% block body %} + {% picture_wide picture %} + +{% spaceless %} + +
+

{% trans "See also" %}:

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