forked from mirrors/bookwyrm
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 %}:
|
{{ book.title }}{% if book.subtitle %}:
|
||||||
<small>{{ book.subtitle }}</small>{% endif %}
|
<small>{{ book.subtitle }}</small>{% endif %}
|
||||||
</h1>
|
</h1>
|
||||||
{% if book.authors %}
|
{% if book.series or book.author %}
|
||||||
<h2 class="subtitle">
|
<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 %}
|
by {% include 'snippets/authors.html' with book=book %}
|
||||||
|
{% endif %}
|
||||||
</h2>
|
</h2>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue