Page - Layout - Sections - Templates
It is very important to understand how the content of the page is rendered. You must get familiar with following terms:
- Layout
- Section
- Template
Shortly described, the rendering of the page's content flows as follows:
- each page must have a certain layout selected
- the rendering engine reads the structure of the layout which is defined by sections
- the rendering engine iterates all sections of this layout and renders a template (or plugin) that is configured to render the section
Important Note: Sometimes the terms template and plugin may refer to the same thing. Do not get confused - each plugin requires a template to render its content. This template is built using TWIG.
Once all sections are iterated and rendered, the rendering engine can combine them into the layout. And that's the design of the page.
See the chapter Understanding layouts for more detailed explanation.