Covers
This commit is contained in:
parent
789b9a1dc0
commit
f3330ab6e7
9 changed files with 58 additions and 24 deletions
|
@ -3,7 +3,7 @@
|
|||
<div id="content">
|
||||
<div>
|
||||
<div class="book-preview">
|
||||
<img class="book-cover" src="/static/images/med.jpg">
|
||||
<img class="book-cover" src="{% if book.cover %}/images/{{ book.cover }}{% else %}/static/images/no_cover.jpg{% endif %}">
|
||||
<h1>{{ book.data.title }}</h1>
|
||||
by {{ book.authors.first.data.name }}
|
||||
{{ rating }} stars
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue