X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/82fa12952975d2857e2eb02d66a7f133fd4d5e2e..371fe39119227a1a62403d0cce417740e8b82e1a:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index e6b5eb001..a996d66ee 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -1,110 +1,23 @@ {% extends "base.html" %} -{% load catalogue_tags %} +{% load cache i18n %} +{% load thumbnail %} +{% load catalogue_tags pagination_tags %} -{% block title %}Lektura {{ book.title }} w WolneLektury.pl{% endblock %} +{% block titleextra %}{{ book.pretty_title }}{% endblock %} +{% block ogimage %}{{ book.cover.url|build_absolute_uri:request }}{% endblock %} -{% block bodyid %}book-detail{% endblock %} +{% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %} -{% block extrahead %} - -{% endblock %} +{% block bodyid %}book-detail{% endblock %} {% block body %} -

{{ book.title }}, {{ categories.author|join:", " }}

-
-

{{ form.q }} lub wróć do strony głównej

-
- -
- {% if book.has_description %} -
- {{ book.description|safe }} -
-

Zwiń opis ▲

- {% endif %} -
- -
- - {% if book.children.all %} -
-

Utwory składające się na ten utwór:

- {% for book in book.children.all %} -
  • {{ book.title }}
  • - {% endfor %} -
    - {% endif %} - -
    - -
    -
    -

    O utworze

    - -
    -
    - {% if categories.theme %} -

    Motywy w utworze

    - - {% endif %} -
    -
    -
    -{% endblock %} \ No newline at end of file + +{% book_wide book %} + +{% work_list book_children %} + + +

    {% trans "See also" %}:

    +{% related_books book %} + +{% endblock %}