fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
template fixes
[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
17207d1
..
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 %}
@@
-14,6
+16,8
@@
{% work_list book_children %}
{% work_list book_children %}
+
+<h2 class="main-last"><span class="mono">{% trans "See also" %}:</span></h2>
{% related_books book %}
{% endblock %}
{% related_books book %}
{% endblock %}