Skip to content

Commit

Permalink
don't display empty ()
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Sep 25, 2023
1 parent d71956c commit 527de23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/book/_teaser.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{% if book.serie %}
<br>
<i class="bi bi-list-ol"></i> <a href="{{ filter_book_url({'serie':book.serie}) }}" class="text-muted text-decoration-none">
{{ book.serie }} ({{ book.serieIndex }})
{{ book.serie }} {% if book.serieIndex >=1 %}({{ book.serieIndex }}){% endif %}
</a>
{% endif %}
{% if not book.verified %}
Expand Down

0 comments on commit 527de23

Please sign in to comment.