Skip to main content

Theme sections and settings

Sections also have access to:

VariableContent
themedict with the global theme settings
sectionsdict of all configured sections
sectionthe current section
section_keythe 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 %}