X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/691ee7c0396998d88b22c53da94e28a55874c914..f88f26e37b7f97e31ff75742eecd21d7f3fe4f16:/wolnelektury/templates/catalogue/book_detail.html?ds=inline 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 %}