/
tray

tray

Renders a tray.

Input:

{% tray "footer" %}

Includes trays/footer.plate.

Note that there must be a Tray with this name present in the 'Trays' tab under the Content Types dashboard.

You can access the tray object inside the theme file by calling the name of the tray as a variable, in this case footer. Trays behave the same like sections, so your tray theme file would look like this:

{% content_for footer %} {% render_content %} {% endcontent_for %}

 

Related content

content_for
content_for
More like this
edit_text_inline
edit_text_inline
Read with this
Trays
More like this
Content Type kind: Section Type
Content Type kind: Section Type
Read with this
layout
More like this
Objects
Objects
Read with this