fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
292be7b
)
TOC link fix.
author
Radek Czajka
<rczajka@rczajka.pl>
Fri, 24 Apr 2020 17:00:14 +0000
(19:00 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Thu, 10 Sep 2020 12:15:11 +0000
(14:15 +0200)
src/catalogue/templates/catalogue/book_text.html
patch
|
blob
|
history
diff --git
a/src/catalogue/templates/catalogue/book_text.html
b/src/catalogue/templates/catalogue/book_text.html
index
4ff3d5e
..
19e1fbe
100644
(file)
--- a/
src/catalogue/templates/catalogue/book_text.html
+++ b/
src/catalogue/templates/catalogue/book_text.html
@@
-98,7
+98,7
@@
<strong>{{ b.title }}</strong>
<div id="heretoc"></div>
{% else %}
<strong>{{ b.title }}</strong>
<div id="heretoc"></div>
{% else %}
- <a href="{% url 'book_text' b.slug %}">{{ b.title }}</a>
+ <a href="{% url 'book_text' b.
get_first_text.
slug %}">{{ b.title }}</a>
{% endif %}
</li>
{% endfor %}
{% endif %}
</li>
{% endfor %}