{% extends "base/base.html" %}
{% load i18n %}
{% load common_tags catalogue_tags %}
{% load ssify %}
{% load build_absolute_uri from fnp_common %}
{% load cache %}
{% block titleextra %}{{ book.pretty_title }}{% endblock %}
{% block ogimage %}{% if book.cover %}{{ book.cover.url|build_absolute_uri:request }}{% endif %}{% endblock %}
{% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %}
{% block bodyid %}book-detail{% endblock %}
{% block extrahead %}
{{ block.super }}
{% if request.path == '/katalog/lektura/pan-tadeusz/' %}
{% include "hotjar.html" %}
{% endif %}
{% endblock %}
{% block body %}
{% include 'catalogue/book_wide.html' %}
{% work_list book_children %}
{% spaceless %}
{% if book.other_versions %}
{% trans "Other versions" %}:
{% for rel in book.other_versions %}
{% cache 86400 book_mini_box rel.pk %}
{% include 'catalogue/book_mini_box.html' with book=rel %}
{% endcache %}
{#% ssi_include 'catalogue_book_mini' pk=rel.pk %#}
{% endfor %}
{% trans "See also" %}:
{% related_books book taken=book.other_versions|length %}