layout

Specifies the layout to be rendered. This can only be used in HTML templates.

{{#layout name /}}

Params

  • name string: The name of the layout file you want to use (enclosed in quotes), or no layout (none).

Example

Not using layout

Do not use the template under layout.

{{#layout none /}}

Using a special template

{{#layout "password" /}}
Was this article helpful to you?