{% for page_num in range(pages|length) %} {% set page = pages[page_num] %}
{% if page_num == 0 %}

{{ header_title or 'English Language Arts' }}

Week {{ week }}, {{ day }} -- {{ topic }}
Name: ________________
{% endif %} {% for section in page.sections %} {% if section.type == 'objectives' %}

{{ section.title or "Here's What We're Learning" }}

{{ section.note }}
{% if section.bullets %} {% endif %} {% elif section.type == 'word_cards' %}

{{ section.title or 'Word Cards' }}

{% if section.note %}
{{ section.note }}
{% endif %}
{% for card in section.cards %}
{{ card.word }}
{% if card.def %}
{{ card.def }}
{% endif %} {% if card.write_line %}
{% endif %}
{% endfor %}
{% elif section.type == 'spelling_story' %}

{{ section.title or 'Spelling Story' }}

{% if section.note %}
{{ section.note }}
{% endif %}
{{ section.story }}
{% elif section.type == 'grammar' %}

{{ section.title or 'Grammar' }}

{% if section.note %}
{{ section.note }}
{% endif %} {% elif section.type == 'practice' %}

{{ section.title or 'Practice' }}

{% if section.note %}
{{ section.note }}
{% endif %} {% for item in val(section, 'items', []) %}
{{ item.text }}
{% endfor %} {% elif section.type == 'vowel_sort' %}

{{ section.title or 'Short Vowel Sort' }}

{% if section.note %}
{{ section.note }}
{% endif %} {% for col in section.columns %}{% endfor %} {% for row in section.rows %} {% for cell in row %}{% endfor %} {% endfor %}
{{ col }}
{{ cell }}
{% elif section.type == 'copy_practice' %}

{{ section.title or 'Copy Practice' }}

{% if section.note %}
{{ section.note }}
{% endif %} {% for word in section.words %}
{{ word }}
{% endfor %} {% elif section.type == 'fill_blank' %}

{{ section.title or 'Fill in the Blank' }}

{% if section.note %}
{{ section.note }}
{% endif %} {% if section.wordbank %}
Word Bank
{% for w in section.wordbank %}{{ w }}{% endfor %}
{% endif %} {% for item in val(section, 'items', []) %}

{{ item }}

{% endfor %} {% elif section.type == 'sentence_writing' %}

{{ section.title or 'Sentence Writing' }}

{% if section.note %}
{{ section.note }}
{% endif %} {% for item in val(section, 'items', []) %}
{{ item }}
{% endfor %} {% elif section.type == 'word_search' %}

{{ section.title or 'Word Search' }}

{% if section.note %}
{{ section.note }}
{% endif %} {% if section.words %}
{% for w in section.words %}{{ w }}{% endfor %}
{% endif %} {% if section.grid %}
{{ section.grid }}
{% endif %} {% elif section.type == 'mystery_word' %}

{{ section.title or 'Mystery Word' }}

{{ section.mystery_title or 'What am I?' }}
{% if section.clues %} {% endif %}
I am:
{% elif section.type == 'word_journal' %}

{{ section.title or 'Word Journal' }}

{% if section.note %}
{{ section.note }}
{% endif %}
{% for _ in range(section.lines|default(2)) %}
{% endfor %} {% elif section.type == 'opposite_match' %}

{{ section.title or 'Opposite Match-Up' }}

{% if section.note %}
{{ section.note }}
{% endif %} {% for item in val(section, 'items', []) %}
{{ item.word }} ↔ {{ item.match }}
{% endfor %} {% elif section.type == 'questions' %}

{{ section.title or 'Reading Questions' }}

{% for q in section.questions %}

{{ loop.index }}. {{ q.text }}

{% if q.lines == 'triple' %}
{% else %}
{% endif %} {% endfor %} {% elif section.type == 'true_false' %}

{{ section.title or 'True or False' }}

{% for item in val(section, 'items', []) %}
{{ loop.index }}. {{ item }}
{% endfor %} {% elif section.type == 'writing_space' %}

{{ section.title or 'Writing Time' }}

{% if section.prompt %}
{{ section.prompt }}
{% endif %} {% for _ in range(section.lines|default(4)) %}
{% endfor %} {% elif section.type == 'draw' %}

{{ section.title or 'Draw' }}

{% if section.note %}
{{ section.note }}
{% endif %}
{% elif section.type == 'reading' %}

{{ section.title or 'Reading Time' }}

{% for para in section.paragraphs %}

{{ para }}

{% endfor %}
{% elif section.type == 'note' %}

{{ section.title }}

{{ section.content }}
{% else %}

{{ section.title }}

{{ section.content or '' }}

{% endif %} {% endfor %}
{% endfor %}