fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
workaround for django ticket 17111; cover in api fix
[wolnelektury.git]
/
wolnelektury
/
templates
/
catalogue
/
book_detail.html
diff --git
a/wolnelektury/templates/catalogue/book_detail.html
b/wolnelektury/templates/catalogue/book_detail.html
index
0a8b223
..
a996d66
100644
(file)
--- a/
wolnelektury/templates/catalogue/book_detail.html
+++ b/
wolnelektury/templates/catalogue/book_detail.html
@@
-1,8
+1,10
@@
{% extends "base.html" %}
{% extends "base.html" %}
-{% load i18n %}
+{% load cache i18n %}
+{% load thumbnail %}
{% load catalogue_tags pagination_tags %}
{% 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 %}
{% block metadescription %}{% book_title book %}. {{ block.super }}{% endblock %}
@@
-12,5
+14,10
@@
{% book_wide book %}
{% book_wide book %}
+{% work_list book_children %}
+
+
+<h2 class="main-last"><span class="mono">{% trans "See also" %}:</span></h2>
+{% related_books book %}
{% endblock %}
{% endblock %}