X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/92c4a21dbc8fa9ff9c8d10127b7afffed5341b23..87ff3f803d2f147e6fa939a99c4c4a4ca6aa965f:/wolnelektury/templates/catalogue/book_detail.html diff --git a/wolnelektury/templates/catalogue/book_detail.html b/wolnelektury/templates/catalogue/book_detail.html index b56759645..a996d66ee 100644 --- a/wolnelektury/templates/catalogue/book_detail.html +++ b/wolnelektury/templates/catalogue/book_detail.html @@ -1,112 +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 %} -
-

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

-
    - {% for book in book_children %} -
  1. {{ book.short_html }}
  2. - {% 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 %}