English
The reusable header and footer
Most themes place a shared header and footer on every page — these, and anything else you save the same way, are reusable components: one piece of layout, used in many places, edited once.
Selecting one
Click your header or footer in the canvas, or find it in Layers. Instead of showing the block's own fields, the inspector shows the Shared component card: whether it is published or has Draft changes, and, under Used on {count} pages, every page (and route template) that uses it. Each of those has an edit and a preview button that opens that page in the builder.
Editing its content
If the component holds editable blocks — a navigation menu, a logo, text — they are listed under Edit shared content, below the card. Select the block you want to change; its Content and Style tabs work exactly as they do anywhere else in the builder. If the component's layout is only containers with no blocks in it, the card instead offers Edit component, which opens the component's own layout directly.
Editing the navigation menu specifically
A header or footer's navigation is usually a link field rendered as a tree, with columns, sub-links and headings. See Links and navigation for how to use it — the tree works the same way here as anywhere else a link field appears.
Publishing a shared component
A shared component has its own draft and published state, independent of any one page. Publishing it from its card, with Publish to {count} pages and then Publish everywhere, makes the change appear on every page that uses it, the next time those pages are published or rebuilt. The card's footer tells you plainly whether every page using this component is already up to date, or whether some still need the newer version — and publishing a page that uses an out-of-date or never-published shared component publishes the component first, automatically, as part of publishing that page (see Publishing).
Detaching a placement
If one page needs to break away from the shared version — to carry its own one-off header, say — the card's menu offers Detach for this page (Detach for this template on a route template). This copies the component's current content onto that one page only, as ordinary blocks you can then edit independently; it no longer follows changes made to the shared component elsewhere. Detaching cannot be undone through the shared component afterwards (the detached blocks are now the page's own), so use it deliberately.