{% if current_user.is_authenticated %} {% endif %} {% if not story.finished %} {% endif %} {% if prev_chapter or next_chapter %} {% if prev_chapter %}← {{ prev_chapter.title }}{% endif %} {% if next_chapter %}{{ next_chapter.title }} →{% endif %} {% endif %} {% if not chapter and not allchapters %} Все главы одной страницей {% endif %} {% for d in story.list_downloads() %} {% endfor %} {% if chapter or chapters %} {# #} {% endif %}