Avoid space within parenthesises for series when no number is provided.

This commit is contained in:
Fabien Basmaison 2021-06-17 17:18:55 +02:00
parent 7f01dcf3b9
commit cc03460e00

View file

@ -29,8 +29,7 @@
<meta itemprop="isPartOf" content="{{ book.series | escape }}">
<meta itemprop="volumeNumber" content="{{ book.series_number }}">
({{ book.series }}
{% if book.series_number %} #{{ book.series_number }}{% endif %})
({{ book.series }}{% if book.series_number %} #{{ book.series_number }}{% endif %})
{% endif %}
</p>
{% endif %}