Dot All Lisbon – the official Craft CMS conference – is happening September 23 - 25.
Layout
Informally, a layout is a template extended by a child. It might contain high-level HTML tags like the <head>
and define blocks that the child can inject content into.
Craft doesn’t make any assumptions about how your templates are structured, so you won’t see any references to layouts in the control panel; you can also have multiple layouts in a single project (and choose between them in each template), or establish a chain of inheritance (say, to use a consistent header and footer but switch between general structures for the main content of pages).
Found in
- Craft CMS