X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3ac9cb26acd9b7c5ba421dac123ba8f75b782bd2..6b7c022c3d28860b2f22a29097fdaeacfe7e00f9:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 4cc4ea82a..a996d66ee 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -1,132 +1,23 @@ -{% load i18n %} {% extends "base.html" %} +{% load cache i18n %} +{% load thumbnail %} {% load catalogue_tags pagination_tags %} -{% block title %}{{ book.title }} w WolneLektury.pl{% 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 %} {% block bodyid %}book-detail{% endblock %} {% block body %} -
{% trans "Work is licensed under " %}{{ extra_info.license_description }}.
- {% endif %} -{% trans "Based on" %}: {{ extra_info.source_name }}
- {% if book.has_description %} -{% trans "Toggle description" %} â²
{% trans "Put a book" %} {% trans "on the shelf!" %}
- -{% trans "Artist" %}: {{ book.get_extra_info_value.artist_name }}
-{% trans "Director" %}: {{ book.get_extra_info_value.director_name }}
-{% trans "Loading" %}
-