X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/088b37be4aa9fe5156c101c0e65b0d229bcec849..87ff3f803d2f147e6fa939a99c4c4a4ca6aa965f:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 125b9bb01..a996d66ee 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -1,173 +1,23 @@ {% extends "base.html" %} -{% load i18n %} +{% load cache i18n %} +{% load thumbnail %} {% load catalogue_tags pagination_tags %} -{% block title %}{{ book.title }} {% trans "on 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 "Put a book" %} {% trans "on the shelf!" %}
- -ODT
-OGG
-DAISY
-MP3
- -{% trans "Loading" %}
-