{% for paragraph in story_data.story.split('\n\n') %}
{% if paragraph.strip() %}
{{ paragraph.strip() }}
{% endif %} {% endfor %}{% extends "base.html" %} {% block title %}Generated Story - Travel Records{% endblock %} {% block content %}
{{ story_data.story_type.title() }} generated from your travel experiences
{{ paragraph.strip() }}
{% endif %} {% endfor %}Words
Trips Included
Destinations
Reading Time
Included in {{ story_data.story_type }} story