# Pages, sections, and versions

How a yaya site is built from pages and sections, and which of the three version trails does what.

Source: https://yaya.page/support/articles/website/pages-sections-and-versions
Last updated: 2026-10-02

## Pages and sections
A site is a set of pages. Each page is a stack of sections, such as a hero banner, services, pricing or a contact form. The header and footer are sections too.

## Drafts and the live site
You always edit the draft. Visitors see the last version you published. The two match only after you publish.

## Three ways to go back
- **Undo** and **Redo** in the More site actions menu step through your latest edits.
- **Draft edits** lists recent chat changes and lets you revert one step.
- **Published versions** lists every version you published, with a **Restore** button.

All three live in the editor. Open **History** for the last two. Restoring a published version changes the live site, not just the draft. Steps are in [Restore an earlier version](/support/articles/website/restore-an-earlier-version).

