Objects
Section
Last updated: · Published:
The section object is accessible in the sections/_section.plate
theme file, if it’s rendered by the {% render_content %}
tag inside the {% content_for post %}
block. Read more on how content_for works here.
section.rows
Returns array of rows that have the section object as parent.
Liquid
{{ section.rows }}
section.name
Returns the section name
section.slug
Returns the rendered slug which is used to create the section ID. Handy.
Output
<section id="section-name">...</section>