Nested layouts problem


I have a main layout for all my application and layouts of for sub
sections of my application. Each subsection also needs the main layout.
So my question is how do you nest layouts?


layouts are supposed to be page frameworks(including headers and
footers) and only one can be specified per page. You need to render a
template containing the elements of the layout that change for each