Template helper layout


Inserts a Thorax.LayoutView and loads a view

{{layout view="foo"}}

{{layout id="bar" view=view options=viewOptions}}

{{layout tagName="header" role="banner" view="site-header"}}
Name Type Attributes Description
view string

Name of view to load

id string <optional>

Id to override default Id

options object <optional>

Options to pass to view loaded by layout view

tagName string <optional>

Tag name to override layout view’s default tag

role string <optional>

Role to add to layout view element