Theme sections and settings
Sections also have access to:
| Variable | Content |
|---|---|
theme | dict with the global theme settings |
sections | dict of all configured sections |
section | the current section |
section_key | the key of the current section |
A section exposes type, disabled, settings, blocks, block_order;
each block exposes type and settings.
{% for block_key in section.block_order %}
{% set block = section.blocks[block_key] %}
<div>{{ block.settings.title }}</div>
{% endfor %}