X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/82fa12952975d2857e2eb02d66a7f133fd4d5e2e..fe3cc2a284f1aa7457b0ec9491203aae100681a6:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index e6b5eb001..a1a62fe24 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 catalogue_tags pagination_tags %} -{% block title %}Lektura {{ book.title }} w WolneLektury.pl{% endblock %} +{% block titleextra %}{{ book.title }}{% 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" %}:

    +{% cache 1800 book-detail-related book.slug %} + {% related_books book %} +{% endcache %} + +{% endblock %}