X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/691ee7c0396998d88b22c53da94e28a55874c914..48dfa850a401cd7c643bb3c38dbb10b9f4ee3a2a:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index a1a62fe24..a996d66ee 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -1,8 +1,10 @@ {% extends "base.html" %} {% load cache i18n %} +{% load thumbnail %} {% load catalogue_tags pagination_tags %} -{% block titleextra %}{{ book.title }}{% endblock %} +{% block titleextra %}{{ book.pretty_title }}{% endblock %} +{% block ogimage %}{{ book.cover.url|build_absolute_uri:request }}{% endblock %} {% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %} @@ -16,8 +18,6 @@

{% trans "See also" %}:

-{% cache 1800 book-detail-related book.slug %} - {% related_books book %} -{% endcache %} +{% related_books book %} {% endblock %}