Skip to content

schema

Defines a section’s settings, blocks, and presets as JSON.

Syntax

{% schema %} { } {% endschema %}

Read by the visual editor; produces no output. One schema per section file. Keys: name, tag, class, settings, blocks, max_blocks, presets, limit, enabled_on/disabled_on.