---
title: "Publishing - Lentil docs"
description: "Publish one page or everything waiting, take a page offline, and restore an earlier version. Drafts stay private until you publish."
url: https://uselentil.com/docs/publishing
updated: 2026-11-13
site: "Lentil"
---

[Docs](https://uselentil.com/docs)

### Docs menuPublishing

# Publishing

Edits are saved as drafts. Publishing is the step that puts them in front of your visitors, one page at a time or all waiting changes at once, and you can take a page back offline or return to an earlier version.

## How publishing works

Every page has a draft and, once published, a live version. You keep editing the draft while visitors keep seeing the live version. A page is always in one of four states:

| State | Meaning |
| --- | --- |
| Draft | Never published. Visitors cannot see it. |
| Published | Live, and the draft is the same as the live version. |
| Unpublished changes | Live, with newer edits in the draft that visitors do not see yet. |
| Unpublished | Taken offline by hand. The draft and history are kept. |

Changes reach visitors within about a minute of publishing.

Some changes skip the draftEdits to the shared header and footer, and to your colors and fonts, go live on every published page straight away. They are not listed under changes waiting to be published. Redirects also go live within about a minute of saving, without a publish.

## Publish one page

1. Open the page in the editor (see [The page editor](https://uselentil.com/docs/editor)).
2. Press the publish button at the top right. It says **Publish** for a new page and **Publish changes** for a live page with edits.
3. Wait for it to say **Published**. The button is greyed out with **Everything is published** when there is nothing new to send.

Open **More page actions** and choose **View live page** to see what visitors see.

![The editor's top bar on the About us page showing Unpublished changes and the Publish changes button.](https://uselentil.com/api/media/ae7d7eee-2939-4380-861f-a83dc003af61/docs-publishing-editor-button.webp)

Publish changes, in the editor. Shown with sample data.

## Publish everything that is waiting

1. Look at the site header. **Publish site** with a number badge shows how many changes are waiting. It reads **Up to date** when there are none. The same count appears on the **Pages** screen status card, which has a **Review changes** button.
2. Press **Publish site**. The box **Publish N changes?** lists them in groups: **Home page** (marked **Moved** when you changed the home page), **New pages** and **Updated pages**.
3. Press **Publish N changes**. It shows **Publishing 1 of N...** while it works, and the home page goes first.
4. If something fails, the box says what went wrong. Press **Try again**, or **Close**.

Pages you took offline by hand are not part of **Publish site**; publish those one at a time. A new site must have a name before it can publish, and the box asks you to give it one.

![The Publish 4 changes? dialog: everything goes live together on rosas-bakery.uselentil.site. New pages Gift cards and Cakes, updated pages About us and Menu, a note that each page keeps its earlier versions, and Publish 4 changes.](https://uselentil.com/api/media/ff7f25ac-c1a9-4a86-8923-7ae3b0ca4085/docs-publishing-publish-site.webp)

Publishing the whole site. Shown with sample data.

## Take a page offline

1. Open the page and choose **More page actions** then **Unpublish page**. Or tick pages on **Pages** and press **Unpublish**.
2. Read **Unpublish this page?**: visitors will no longer see it, and your draft and history stay.
3. Confirm. The page shows **Unpublished**. Publish it again whenever you like.

The home page can only be unpublished once no other page is live.

## Go back to an earlier version

1. In the editor, press **Versions** and find the version you want. Press **Preview** to look at it.
2. Press **Restore**. It becomes your draft and nothing changes for visitors yet.
3. Press **Publish changes**.

Every publish and every edit is kept, up to the last 100 versions shown in the list. Pressing **Restore** on the live version simply discards your draft changes.

Ask your assistant

```
Show me which pages on my Lentil site have unpublished changes. Send me a screenshot of each one. When I say go, publish the home page first, then the others, and tell me when they are live.
```

Uses `list_pages`, `get_page_thumbnail`, `publish_page`. [Connect an assistant](https://uselentil.com/docs/ai-assistants)

## Who can use it

- Owners, admins, members and clients can publish and unpublish pages. See [Team and roles](https://uselentil.com/docs/team).
- Free sites have a limit of one live form. A publish that would go over it is refused with a message that says so. See [Plans, billing and credits](https://uselentil.com/docs/billing).

## Limits and edge cases

- Other pages go live only while the home page is live. Otherwise you see **Publish the home page first**. **Publish site** sends the home page first for this reason.
- A page with nothing saved yet has nothing to publish.
- You cannot publish from the editor while you have unsaved HTML in the **Code** tab, or while the AI is working on the page.
- The home page cannot be unpublished while other pages are live: unpublish them first.

## From an AI assistant

An assistant connected to Lentil can publish with your rights, but only after you clearly say so. See [AI assistants](https://uselentil.com/docs/ai-assistants).

- `publish_page` publishes one page, and needs `confirmed: true`. `unpublish_page` takes a page offline. `list_pages` shows which pages have unpublished changes.
- `list_page_versions`, `get_page_version` and `restore_page_version` work with history.

**Still have a question?**Write to us from **Help & support** in the app's account menu, or from our contact page.

[Contact support](https://uselentil.com/contact)

Updated 9 November 2026
