Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.name

Returns the section name

section.slug

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

Code Block
<section id="section-naam">...</section>

So in this case the slug was naam .