Skip to content

section

Renders a single section file from sections/.

Syntax

{% section 'announcement-bar' %}

Renders the section with its saved settings. Sections rendered this way are statically placed — to let merchants add/reorder them, reference them from a JSON template or use sections.

Example

{% section 'header' %}

Output:

The rendered header section HTML, wrapped in the section element the editor targets.