{% extends "base.html" %} {% block content %}

{{ story.title }} {% if not story.published %}Draft{% endif %} {% if story.nsfw %}NSFW{% elif story.hasNsfwContent %}Contains NSFW{% endif %}

{% if story.author %} {% endif %} {% include "_meta_block.html" %} {% if story.summaryHtml %}

Summary

{{ story.summaryHtml | safe }}
{% endif %} {% if story.notesHtml %} {% endif %} {% if story.chapters %} {% endif %}

Chapters

    {% for chapter in story.chapters %}
  1. {{ chapter.displayTitle }} {% if not chapter.published %}Draft{% endif %} {% if chapter.nsfw %}NSFW{% elif chapter.hasNsfwSections %}Contains NSFW{% endif %} {{ chapter.wordCount | format_num }} words{% if chapter.hasExplicitDate %} · {% endif %}
    {% if chapter.summaryHtml %}
    {{ chapter.summaryHtml | safe }}
    {% endif %}
  2. {% endfor %}
{% if story.endnotesHtml %} {% endif %}
{% endblock %}