From 35e2410642109e494fdb60a67d1313730fb0cbe8 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 4 Jan 2021 16:33:45 -0800 Subject: [PATCH] Show series in book page --- bookwyrm/templates/book.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bookwyrm/templates/book.html b/bookwyrm/templates/book.html index 4bbc8d10..935e39ca 100644 --- a/bookwyrm/templates/book.html +++ b/bookwyrm/templates/book.html @@ -10,9 +10,14 @@ {{ book.title }}{% if book.subtitle %}: {{ book.subtitle }}{% endif %} - {% if book.authors %} + {% if book.series or book.author %}

+ {% if book.series %} + ({{ book.series }}{% if book.series_number %} #{{ book.series_number }}{% endif %})
+ {% endif %} + {% if book.authors %} by {% include 'snippets/authors.html' with book=book %} + {% endif %}

{% endif %}