X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ec3ed54f52c0551fab881e2fa6009cdd6469559f..f88f26e37b7f97e31ff75742eecd21d7f3fe4f16:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index 22c09cb13..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 %}