fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minimal allauth support
[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
a1a62fe
..
a996d66
100644
(file)
--- a/
wolnelektury/templates/catalogue/book_detail.html
+++ b/
wolnelektury/templates/catalogue/book_detail.html
@@
-1,8
+1,10
@@
{% extends "base.html" %}
{% load cache i18n %}
{% extends "base.html" %}
{% 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 %}
@@
-16,8
+18,6
@@
<h2 class="main-last"><span class="mono">{% trans "See also" %}:</span></h2>
<h2 class="main-last"><span class="mono">{% trans "See also" %}:</span></h2>
-{% cache 1800 book-detail-related book.slug %}
- {% related_books book %}
-{% endcache %}
+{% related_books book %}
{% endblock %}
{% endblock %}