mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-22 16:16:39 +00:00
Show series in book page
This commit is contained in:
parent
0a9f6bf5d5
commit
35e2410642
1 changed files with 6 additions and 1 deletions
|
@ -10,9 +10,14 @@
|
|||
{{ book.title }}{% if book.subtitle %}:
|
||||
<small>{{ book.subtitle }}</small>{% endif %}
|
||||
</h1>
|
||||
{% if book.authors %}
|
||||
{% if book.series or book.author %}
|
||||
<h2 class="subtitle">
|
||||
{% if book.series %}
|
||||
<small class="has-text-grey-dark">({{ book.series }}{% if book.series_number %} #{{ book.series_number }}{% endif %})</small><br>
|
||||
{% endif %}
|
||||
{% if book.authors %}
|
||||
by {% include 'snippets/authors.html' with book=book %}
|
||||
{% endif %}
|
||||
</h2>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue