1
0
Fork 0

Don't use book absolute ids for nav

This commit is contained in:
Mouse Reeve 2020-05-03 18:07:06 -07:00
parent 2fd7792f34
commit 1dffe425e0
10 changed files with 45 additions and 16 deletions

View file

@ -5,9 +5,15 @@
<h2>Editions of <a href="/book/{{ work.id }}">"{{ work.title }}"</a></h2>
<ol class="book-grid row wrap">
{% for book in editions %}
<<<<<<< HEAD
<li class="book-preview">
<a href="{{ book.absolute_id }}">
{% include 'snippets/book_cover.html' with book=book %}
=======
<div class="book-preview">
<a href="/book/{{ book.id }}">
{% include 'snippets/book_cover.html' with book=book %}
>>>>>>> Don't use book absolute ids for nav
</a>
{% include 'snippets/shelve_button.html' with book=book %}
</li>