指定渲染的layout,仅能在html template中使用。
默认使用 layouts/theme.html
{{#layout name /}}
name string: 您要使用的布局文件的名称(用引号括起来),或者为无布局(none)。
name
string
none
不使用layout
不使用layout下的模板。
{{#layout none /}}
使用指定模板
使用 layout/password.html 模板
layout/password.html
{{#layout "password" /}}