section

Table of contents

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.

{{ section.rows }}

section.name

Returns the section name

section.slug

Returns the rendered slug which is used to create the section ID. Handy.

<section id="section-name">...</section>
So in this case the slug was name.

Need help?

Do you have any question which is not answered in this knowledge base? Contact us. We are here to help you.