Add anchor tags to titles

This commit is contained in:
Chintogtokh Batbold
2018-10-09 11:52:16 +00:00
parent 7253f583cf
commit 13883db5a0
5 changed files with 19 additions and 7 deletions
+3 -1
View File
@@ -14,7 +14,9 @@
{% endif %}
</div>
<div class="meta">
<p class="title">{{entry.title|shortentitle}}</p>
<a href="{{ url_for('show_book', book_id=entry.id) }}" data-toggle="modal" data-target="#bookDetailsModal" data-remote="false">
<p class="title">{{entry.title|shortentitle}}</p>
</a>
<p class="author">
{% for author in entry.authors %}
<a href="{{url_for('author', book_id=author.id) }}">{{author.name.replace('|',',')|shortentitle(30)}}</a>