{# ABOUTME: /series/ detail page — the series' books ordered by position. #} {# ABOUTME: Positions render via %g so 1.0 shows as #1 and 1.5 stays #1.5. #} {% extends "base.html" %} {% block title %}{{ series_name }} - Bookery{% endblock %} {% block content %}

{{ series_name }}

{{ books|length }} book{% if books|length != 1 %}s{% endif %}

    {% for book in books %}
  1. {% if book.metadata.series_index is not none %}#{{ '%g'|format(book.metadata.series_index) }}{% endif %} {{ book.metadata.title }} {% if book.metadata.authors %} by {{ book.metadata.authors|join(", ") }} {% endif %}
  2. {% endfor %}
{% endblock %}