Extract a section of template that can be retrieved in a Yield Tag.


Here’s an example template:

<h1>{{ title }}</h1>
    {{ content }}

{{ section:sidebar }}
    Some sidebar stuff!
{{ /section:sidebar }}

Everything within the section:sidebar tag pair will not be rendered in this template. It will be rendered in your layout (or partials within a layout) in the {{ yield:sidebar }} tag.

Last modified on September 21, 2016