{% if include_text and days_with_text %}
{# Full text version for shorter plans #}
{% for day in days_with_text %}
Day {{ day.day }}
{% if day.theme %}{{ day.theme }}{% endif %}
{% for section in day.text %}
{{ section.reference }}
{% for verse in section.verses %}
{{ verse.verse }}{{ verse.text }}
{% endfor %}
{% endfor %}
{% endfor %}
{% else %}
{# Reference-only version for longer plans #}
{% set all_days = plan.days if plan.days else plan.sample_days %}
{% for day in all_days %}
Day {{ day.day }}
{% for reading in day.readings %}
{{ reading }}
{% endfor %}