What is a layout page?
- In the page editor, the root (page) properties include Layout (or isLayout). When set to Yes (true), the page is a layout: its content (e.g. header, nav, footer) wraps child pages.
- Child pages are pages whose slug or hierarchy is under this layout (exact behavior depends on how your site resolves routes). They do not need to be “attached” manually in some setups; the router uses the slug structure.
Exact behavior (how child pages are assigned to a layout, and URL structure) can vary. Check your app or theme: sometimes a layout is applied to all pages, or to pages under a certain slug prefix.
When to use a layout
- Shared header/footer: One layout page with nav and footer; all other pages render inside it.
- Section layout: A layout for a section (e.g.
/events/*) with its own sub-nav; child pages under that path use it.
Creating a layout page
- Create a page as usual (e.g. slug
_layoutorlayout—name depends on your app). - In the page editor, set Layout to Yes (or isLayout = true).
- Add the shared content (header, footer, optional sidebar) and a zone or slot where child content will render (if your editor supports it).
- Save and publish. Child pages will render inside this layout according to your site’s routing.