Including Layouts in Templates

A layout file can be included from within a template:

<perch:layout path="global.sidebar">

At runtime, the layout file is included. Any attributes set on the perch:layout tag are passed through as layout variables.

The path is relative to the perch/layouts directory.