Add series info to all book "meta" displays

This commit is contained in:
Michael Knepher
2020-06-26 12:26:36 -07:00
parent 54cf3652b0
commit 67dd4a72b0
4 changed files with 27 additions and 3 deletions
+8 -1
View File
@@ -43,7 +43,14 @@
{% endif %}
{% endfor %}
</p>
{% if entry.series.__len__() > 0 %}
<p class="series">
<a href="{{url_for('web.books_list', data='series', sort='new', book_id=entry.series[0].id )}}">
{{entry.series[0].name}}
</a>
({{entry.series_index}})
</p>
{% endif %}
</div>
<div class="btn-group" role="group" aria-label="Download, send to Kindle, reading">