Wrap templates with layouts. Layouts can use/refer to other layouts, allowing them to be nested.