Skip to content

Commit

Permalink
Add missing "To be continued" on single-chapter stories
Browse files Browse the repository at this point in the history
  • Loading branch information
andreymal committed Sep 3, 2023
1 parent b2c8cc5 commit f377f4d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions mini_fiction/templates/story_view.html
Expand Up @@ -170,9 +170,12 @@ <h4>
{% elif show_first_chapter %}
{% with chapter=chapters[0] %}
{% include "includes/story_panel.html" %}
{% with is_last_chapter=True %}
{%- include "includes/chapter_single.html" -%}
{% endwith %}
{% include "includes/chapter_single.html" %}
{% if story.status_string == 'unfinished' %}
<div class="chapter-navigation">
<p><strong>{{ _('To be continued...') }}</strong></p>
</div>
{% endif %}
{% endwith %}
{% endif %}
</div>
Expand Down

0 comments on commit f377f4d

Please sign in to comment.