content

Renders the content of the specified type.

The content tag can be used to render a header, a footer, a template, or all blocks within the current section or block.

{{#content content_type /}}

Required params

content_type string: The type of content to render. Valid values are:

  • header: A header. The value is only available in layout files.

  • footer: A footer. The value is only available in layout files.

  • layout: A template. The value is only available in layout files.

  • blocks: All blocks within the current section or block.

Example

The following example is used to render all blocks within the current section.

{{#content "blocks" /}}
Was this article helpful to you?