1 {% extends "base.html" %}
3 {% load common_tags catalogue_tags %}
5 {% load build_absolute_uri from fnp_common %}
7 {% block titleextra %}{{ book.pretty_title }}{% endblock %}
8 {% block ogimage %}{% if book.cover %}{{ book.cover.url|build_absolute_uri:request }}{% endif %}{% endblock %}
10 {% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %}
12 {% block bodyid %}book-detail{% endblock %}
16 {% ssi_include 'catalogue_book_wide' pk=book.pk %}
18 {% work_list book_children %}
21 {% if book.other_versions %}
22 <section class="see-also" style="display: inline-block;">
23 <h1>{% trans "Other versions" %}:</h1>
24 {% for rel in book.other_versions %}
25 {% ssi_include 'catalogue_book_mini' pk=rel.pk %}
30 <section class="see-also" style="display: inline-block;">
31 <h1>{% trans "See also" %}:</h1>
32 {% related_books book taken=book.other_versions|length %}