Shared Layouts
Part of the MountDev Ops Websites documentation. Updated November 29, 2026
MountDev Ops Websites documentation | Updated November 29, 2026
A shared layout is one frame that every page of a website can use, so pages cannot drift apart. It is a list of parts in order, from top to bottom, with one place marked Page Content. A page holds only its own title and sections, and the website draws them in the Page Content place, between the layout's other parts.


The header, footer, menus, and announcement are already shared across pages, and a layout does not replace them. A layout holds what sits around a page's own content: a call to action band, a side section, or a custom section of your own.
How a Layout Works
- Parts. Any section a page can hold, including a Custom Section (cleaned of script like any other), plus exactly one Page Content place written as
{"type":"content"}. A layout can have up to 30 parts. Custom HTML code is not allowed in a layout. - A page chooses one. A page uses the layout it was given (the page's layout, action
sites.page.savewithlayout_id), else the website's default layout, else none. A layout id of 0 puts the page back on the default. - Change it once. Saving a layout changes every page that uses it after the next publish. Each layout shows how many pages use it.
- Pages cannot drift. A page's own sections go only in Page Content. Anything that should show on every page belongs in the layout.
- Starts safe. A website with no layouts is drawn exactly as before. Adding a layout changes nothing until a page chooses it or it becomes the default. Doc pages and Designed docs pages keep their own frame.
Actions
- See the layouts (action
sites.layout.list): each layout with its parts, whether it is the default, and how many pages use it. - Add a layout, or change one (action
sites.layout.save): a name (up to 60 characters, unique on the website), its parts, and Use It for Pages That Choose None. Only one layout is the default. - Remove a layout, or bring it back (action
sites.layout.remove): hidden and kept. A layout that pages use cannot be removed, and the message says to move them first.
Drafts and Review Changes
A layout saved by an AI assistant or an API key is a draft. It shows in Review Changes under Layouts, and a person publishes it, sends it back, or goes back to the published layout. A person's own save is a change a person publishes with the website.
Export
Website Layouts is part of the account export, with each layout's parts, default, and removed state.
For AI Agents
Read websites_layouts first for the layout ids, then websites_layout_save and websites_layout_remove. Give a page a layout with websites_page_save and layout_id. A refused save changes nothing and says why.
Where to Find It
Websites, then Layouts, then New Layout (open a website first). Anyone who may see websites sees it; changing a layout needs edit access. A page picks its layout in its own settings, or from Change Layout in the Pages list.
