Pages are where most of a site lives. This chapter covers how they are organised, how a layout decides what you can edit, and how to build a page section by section out of components.
The mental model
Three things combine to make a page:
- The record — where it sits in the tree, what its URL is, whether it is published.
- The layout — which template renders it, and which fields you get.
- The content — what you type into those fields.
Changing one does not change the others, which is why moving a page does not alter its content, and why switching layouts can leave content stranded if the area names do not match.
Where people get stuck
Two recurring ones, both covered in the articles below. First, choosing a layout after writing the content rather than before — which usually means re-entering it. Second, forcing content into a layout that does not fit, instead of asking for a component that does.