X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2f1c330e555c24deb17b7d6018b59c52dab7aafd..6ba1659e33c6aa1de178b5ab9a7a4cf27385e7a4:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index ff9278030..a1a62fe24 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -1,107 +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:", " }}

-
-
    - {# {% for tag in tags %} #} - {#
  1. {{ tag }} | x
  2. #} - {# {% endfor %} #} -
  3. {{ book.title }} | x
  4. -
-
- -
- {% 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 %}