sections

Renders a section group. The sections in a section group can be used only in layout template files.

{{#sections "file_name" /}}

Required params

file_name string: The name of the section group to render, corresponding to a .json file under the sections directory. For example, to render the default section group sections/header.json, file_name should be replaced with header.

Example

To render the header group, use the following code.

{{#sections "header" /}}
Was this article helpful to you?