Show series in book page

This commit is contained in:
Mouse Reeve 2021-01-04 16:33:45 -08:00
parent 0a9f6bf5d5
commit 35e2410642

View file

@ -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>