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