some opengraph info
[wolnelektury.git] / wolnelektury / templates / catalogue / book_detail.html
index 0a8b223..a996d66 100644 (file)
@@ -1,8 +1,10 @@
 {% extends "base.html" %}
-{% load i18n %}
+{% load cache i18n %}
+{% load thumbnail %}
 {% load catalogue_tags pagination_tags %}
 
-{% block titleextra %}{{ book.title }}{% endblock %}
+{% block titleextra %}{{ book.pretty_title }}{% endblock %}
+{% block ogimage %}{{ book.cover.url|build_absolute_uri:request }}{% endblock %}
 
 {% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %}
 
 
 {% book_wide book %}
 
+{% work_list book_children %}
+
+
+<h2 class="main-last"><span class="mono">{% trans "See also" %}:</span></h2>
+{% related_books book %}
 
 {% endblock %}