# Pages & Sales Pages


Your site needs two kinds of pages, and they are built differently. There are the pages a
visitor expects to find — a front page, something about you, the terms and privacy pages,
maybe a blog or a section of notes — which you write the way you write anything. And there is the sales page: one
per offer, built on a designed template, where the words matter more than anywhere else on
the site and where your assistant does the first draft.

This chapter is both. It shows the pages a new site starts with and how to make more, the
sales page from the starter letter to live, and the rule the platform enforces so a page with
"[rewrite me]" prompts on it never reaches a buyer. A path such as *Sales and marketing → My Pages*
names a group in the admin's navigation and the page under it.

## Concepts

**A page has a kind, a format and an address.** The kind says what the page is for: a general
page, a blog post, the front page, terms, privacy policy, cookie policy, or a thank-you
page. The format says how its content is stored: *Rich Text* for anything you write in the
editor, *HTML* for a page you or your assistant author as markup (a plan feature), and the
*designed* format of sales pages, where content lives in named slots on a template. Every
page is served at `/page/<slug>`; *Serve at site root* makes it answer at `/<slug>` as well,
unless the slug is a name the platform reserves. A page is public the moment it exists — there
is no draft step for ordinary pages — and it appears in the site's sitemap and in its
`/llms.txt`, the page agents read to learn what a site offers.

**A new site starts with four pages.** A front page at `/` titled with the site's name,
carrying a welcome line and a *site contents* block that lists what the site shows the public
— its pages, its live offers, its podcast — plus terms, privacy and cookie-policy pages at `/terms`, `/privacy` and `/cookies`, all
written as starting points for you to edit. These four kinds are *standard* pages: a site has
one active page of each, and if you write a second front page or a new terms page you make it
the active one from the list. The site header and footer wrap every page: the logo on the left
(the logged-out menu is only *Login* and *Forgot your password?*; there is no site menu to
edit), and the Terms, Privacy and Cookies links underneath.

**A sales page belongs to an offer.** It is the page a buyer reads before the checkout, and it
points at the offer it sells — the price on the page and the buy button are wired to the offer
and change with it. An offer gets its sales page when it is created (the Selling chapter), and
several pages may sell one offer, with one of them the offer's own. Sales pages are not listed
under *My Pages*; you reach one from its offer.

**A sales page is slots on a template.** The template — today there is one for selling,
*Sales Page*, a full-length letter for an audience that has never heard of you — fixes which
sections exist and in what order: the hero with its headline, subheadline and badges; the
problem; a two-column comparison; how it works, in steps; your approach; proof; what you get;
why the price; the call to action; and the FAQ. The hero and the call to action are always
there; every other section can be shown or hidden, and sections with lists (badges, rows,
steps, deliverables, questions) take as many items as you like. What you cannot do is reorder
sections or invent new ones; the freedom is in the words. Rich slots take bold, italic and
lists, and body copy takes no links, so the only click on the page is the buy button. The look
is a theme that draws its colours and fonts from your brand (Getting Started), not from the page.

**Placeholders never go public.** A new sales page is a *starter letter*: every section filled
from what the offer knows, with bracketed prompts where only you know the substance —
*"[What staying stuck costs them]"*. Publishing the offer is refused while any of those remain,
from the offer's edit page, from the wizard and from your assistant alike, and the refusal
lists each one with a link to the spot in the editor. Until the offer is published its sales
page answers visitors with a 404; you, signed in as the Headmaster, see it with a banner saying
so, exactly as buyers will once it is live. A scheduled offer's page is public before the
launch, so you can send traffic to it.

**HTML pages are for the assistant to write and you to touch up.** On plans with custom HTML
pages, a page can be stored as markup — the natural output of an assistant that designs a
page for you. You can edit the source, but the everyday path is *touch-up*: open the live page
as the Headmaster, click the pencil, and the text that is safe to change is highlighted; you fix
a word, bold a phrase, save, and the page is live. Structure and styling stay with the source.

**Evergreen notes grow instead of being dated.** Beside the blog, every site has *Notes* at
`/notes`: short public writing on one idea each, published the moment it is saved and meant to
be revised and renamed as the idea sharpens, rather than finished on a date. A note shows no
date anywhere, and the index lists the most recently grown first. Notes link to each other by
title: `[[Title]]` in a note's body is a *Note link* to the note with that title, matched
ignoring case, and it keeps working when that note is renamed. A title no note has yet is a
*Stub*, an idea named before it is written: visitors read it as plain text, you read it as an
invitation to write that note, and it becomes a link the moment a note with that title is
saved. Each note lists *Links to this note*, the other notes that link to it. Because a title
is what a link names, no two of a site's notes share one, and a title holds no square brackets,
since a Stub could not name it. A note's address is
`/notes/<id>/<title>`: the id finds it, so after a rename an old address answers with a
permanent redirect to the current one. Notes are on every plan, and they are not the
answer-conditioned notes on a quiz's result page (Courses & Content).

## Hands-on

### The pages you start with

Mira's site came with a front page, terms, privacy and cookie pages. *Sales and marketing → My Pages*
lists them with their kind, address and format, filtered by chips (*Front Pages*, *Blog Posts*,
*Terms*, …) or searched by title. *Edit* opens the editor, *Preview* the public page in a new
tab, *Copy* duplicates one, and the lightning button on an inactive standard page makes it the
active one. The *Set up your site* checklist on the admin home keeps *Edit your front page*
unticked until the front page has been saved once.

Mira says: *"Rewrite my front page: who I am, what the course does, and keep the list of what
is on the site."* The assistant reads it with `omumu_page_get` (by slug or id) and writes it
back with `omumu_page_update` — title, tagline, search description, contents, image or slug —
keeping the site contents block, which is an embed in the content rather than text. In the
admin, the editor is the page's content with a *Page Settings & SEO* panel: title, slug,
*Serve at site root*, search description and kind; *Save* publishes at once.

### Add a page

*"Make an About page at /about-mira: I was a developer for fifteen years, now I teach people who
don't code to automate the boring parts of their week."*

`omumu_page_create` takes the slug, title, kind and contents — Markdown is fine for a page
written in conversation; it is stored as rich text — and returns the public address.
`omumu_page_list` shows every page, filtered by kind. In the admin: *New Page* asks for title,
slug, kind and format (*Rich Text Editor* or *HTML Editor*, the latter only on plans that
include it) and opens the editor. To put an opt-in form on a page, write
`[optin-form id="…"]` on a line of its own; the Audience & Email chapter has the forms.

### Write a blog

A blog post is a page of the *Blog Post* kind. The public blog lives at `/blog`, each post at
`/blog/<slug>`, with RSS and Atom feeds at `/blog/feed.rss` and `/blog/feed.atom`. Create posts
as any other page (`omumu_page_create` with type `blog`, or *New Page* with the kind set to
Blog Post); the *Blog Posts* chip under *My Pages* lists them. There is a separate *Blog
Management* page at `/admin/blog` with the same list, but nothing in the navigation links to it.

### Publish Evergreen notes

Mira keeps explaining the same idea to every client. She says: *"Write a note called
'Automate the report, not the job': most people try to automate their whole role and give up;
start with the one report you rebuild every Monday. Link it to [[The Monday report]]."*

The assistant calls `omumu_evergreen_note_create` with the title and a Markdown body; the
`[[The Monday report]]` in it pins to that note if Mira has one, and otherwise stays a Stub.
The answer carries the note's id and its public address, live at once. `omumu_evergreen_note_update`
grows or renames a note, keeping whatever it is not given (title, body, meta description,
sharing image); `omumu_evergreen_note_get` gives the body back as Markdown with every Note link
written `[[Its current title]]`, ready to edit and send back; `omumu_evergreen_note_list` lists
the notes, the most recently grown first, and the Stubs with how many notes name each, so
*"what should I write next?"* has an answer; `omumu_evergreen_note_delete` takes one down. A
title another note already has is refused, naming that note, and so is a title holding a square
bracket; either way nothing is written. These
tools take the same permissions as the page tools, and the page tools refuse a note, naming
these instead.

In the admin, *Sales and marketing → Notes* lists the notes and, beside them, the *Stubs*, the
most-named first; choosing a Stub opens *New note* with its title filled in. The editor takes a
title, a body in the same editor pages use, and an optional meta description and sharing image
URL; typing `[[` in the body suggests her note titles as she types, Up, Down and Enter (or a
click) pick one into a Note link, and Escape keeps typing. *Save and publish* makes it public.
Notes are not listed under *My Pages*, the page pickers on offers, quizzes, opt-in forms and
funnel steps never offer one, and a note's address under `/page/` answers 404; the pencil on a note she is reading
opens its editor.

Visitors find the index at `/notes` and each note with its *Links to this note*. The section has
its own RSS and Atom feeds at `/notes/feed.rss` and `/notes/feed.atom`, separate from the blog's:
each note is announced once, dated when it was first saved, so growing or renaming it never puts
it back in a reader's feed. The sitemap lists the index and each note under its current address.

Deleting is on the note's editor, behind a confirmation page: the note's addresses answer 404,
it leaves the index, the feeds and the sitemap, and every link to it in her other notes turns
back into a Stub of its last title, so writing a note with that title again links them once more.

### Write the sales page

Mira's offer *Automate Your Week* has a sales page full of prompts. She says: *"Rewrite my sales
page from these notes: the problem is Sunday evenings lost to spreadsheets, the first win is a
report that builds itself, refunds within 14 days, no questions."*

The assistant calls `omumu_template_list` once to see the template's sections and the fields
each slot takes, reads the page with `omumu_page_get`, and writes the whole slot document back
with `omumu_page_update` — the full page every time, not one section; the template, the offer
and the price are fixed facts the document cannot change. A field the template does not have
is dropped without a word, so it checks the result. When the page is clean, publishing the
offer with `omumu_offer_update` goes through; while prompts remain, it fails with the list
(section, field, excerpt, editor path), and `omumu_offer_get` shows the same list under
`salesPagePlaceholders` for a check before trying.

In the admin, *Sales and marketing → Offers*, the offer, *Edit sales page* opens the page on its real look:
click any text and type; *Show or hide this section* on the optional sections; *Add badge*,
*Add row*, *Add step*, *Add testimonial*, *Add item*, *Add question* for the lists; the buy
button's label is editable, its destination is not. *Save page* makes it live for anyone who
can see the page; *View live page* shows it. From the public page, the pencil in the corner
brings the Headmaster back to the editor.

### Publish, and what buyers see

Publishing is the offer's *Valid From* (the Selling chapter). With placeholders left, the edit
page refuses and lists them, each a link to its section; fix them, save, and publish again. Once
live, the page shows the site header and footer, the price from the offer, and a buy button
that goes straight to the checkout. Pausing or ending the offer keeps the page up; unpublishing
hides it again.

### Author a page in HTML

*"Design me a one-page launch announcement in HTML with a countdown-style headline, our
colours, and a link to the sales page."*

`omumu_page_create` with `encoding: MANAGED_HTML` stores the markup as given and serves it
inside the site header and footer. Editing it in the admin — the source editor and the
touch-up alike — needs a plan with custom HTML pages; without one the page is shown read-only
there. Afterwards Mira
opens the live page, clicks the pencil, and lands in *Touch up copy*: highlighted text can be
edited and formatted (bold, italic, underline, highlight), dimmed text is protected, and *Save*
says *Your changes are live*. If the page changed under her meanwhile, nothing is saved and she
reloads. Changing the structure means *Edit source*, which is the markup itself.

### What you cannot do yet

Stated plainly: ordinary pages have no draft state — a page is public the moment it exists, and
only sales pages follow their offer's status. There is no site menu to edit; the logged-out
header links only to sign-in, so pages reach each other through the front page's contents block
and your own links. Sales pages are not listed under *My Pages*, and nothing links the blog's
own admin page. Nothing points visitors to `/notes` but your own links: the front page's
contents block and the site's `/llms.txt` list general pages, not notes. A note's Markdown from
`omumu_evergreen_note_get` leaves out embedded videos, and when sent back gains an empty line
between paragraphs that had none and reads Markdown characters in the text as formatting, so a
line starting with "- " becomes a list; the stored Quill body it also returns keeps all of it. One selling template, one theme per template, no reordering of sections, no
images inside a sales page beyond the brand. And the sales page's only buy button is at the
end of the letter; the hero shows the price and the access badge, not a button.

## Reference

### `omumu_evergreen_note_create`

Writes a new Evergreen note in the site's Notes section (/notes): a short public note on one idea, without a date, that keeps growing and links to other notes. These are not the quiz notes (omumu_note_*) and not pages. Evergreen notes are public the moment they are saved: there is no draft, and the result's publicUrl is where visitors read the note. In the body, [[Title]] names another note: saving turns it into a link to the note with that title (matched ignoring case), which keeps working when that note is renamed. A [[Title]] no note has yet stays a Stub, an idea to write next, and becomes a link once a note with that title is saved. A title another note on the site already has, ignoring case, is refused and nothing is written.

- **Write category:** standard write
- **Access:** requires the `PAGE_WRITE` permission

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | no | The note's body: Markdown (headings, lists, quotes, code, bold, italic, links, images) or Quill Delta JSON, detected the way the page tools detect it. Use [[Title]] to link to another note. |
| `image` | string | no | Optional sharing image URL for link previews |
| `metaDescription` | string | no | Optional description for search results and link previews |
| `title` | string | yes | The note's title, unique among the site's notes ignoring case; at most 255 characters, with no square brackets |

### `omumu_evergreen_note_delete`

Deletes an Evergreen note; its URL then answers 404. Every link to it in the site's other notes turns back into the Stub [[Its last title]], so writing a note with that title again links them once more.

- **Write category:** standard write
- **Access:** requires the `PAGE_DELETE` permission

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `noteId` | string | yes | The note's id |

### `omumu_evergreen_note_get`

Gets an Evergreen note: its title, publicUrl, metaDescription, image, and its body as Markdown in which every link to another note is [[Its current title]] and every Stub is [[Title]], ready to edit and pass back to omumu_evergreen_note_update. Markdown leaves out embedded videos, and sending it back puts an empty line between paragraphs that had none and reads Markdown characters the text holds as formatting: a line starting with '- ', '# ', '> ' or a number and a dot becomes a list, heading or quote, and text between asterisks or underscores is emphasised; 'quillBody' is the stored Quill JSON, which keeps all of it. In the body, [[Title]] names another note: saving turns it into a link to the note with that title (matched ignoring case), which keeps working when that note is renamed. A [[Title]] no note has yet stays a Stub, an idea to write next, and becomes a link once a note with that title is saved.

- **Write category:** read-only
- **Access:** requires the `PAGE_READ` permission

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `noteId` | string | yes | The note's id |

### `omumu_evergreen_note_list`

Lists the site's Evergreen notes, the most recently grown first (id, title, publicUrl), and its Stubs: the [[Title]] titles its notes name that no note has yet, each with how many notes name it, the most-named first. A much-named Stub is a good idea to write next. In the body, [[Title]] names another note: saving turns it into a link to the note with that title (matched ignoring case), which keeps working when that note is renamed. A [[Title]] no note has yet stays a Stub, an idea to write next, and becomes a link once a note with that title is saved.

- **Write category:** read-only
- **Access:** requires the `PAGE_READ` permission

No parameters.

### `omumu_evergreen_note_update`

Grows or renames an Evergreen note; any parameter left out stays as it is. Renaming never breaks a link to the note. Evergreen notes are public the moment they are saved: there is no draft, and the result's publicUrl is where visitors read the note. In the body, [[Title]] names another note: saving turns it into a link to the note with that title (matched ignoring case), which keeps working when that note is renamed. A [[Title]] no note has yet stays a Stub, an idea to write next, and becomes a link once a note with that title is saved. A title another note on the site already has, ignoring case, is refused and nothing is written.

- **Write category:** standard write
- **Access:** requires the `PAGE_WRITE` permission

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `body` | string | no | The new body, replacing the old one. The note's body: Markdown (headings, lists, quotes, code, bold, italic, links, images) or Quill Delta JSON, detected the way the page tools detect it. Use [[Title]] to link to another note. |
| `image` | string | no | New sharing image URL; an empty string removes it |
| `metaDescription` | string | no | New description for search results; an empty string removes it |
| `noteId` | string | yes | The note's id |
| `title` | string | no | The new title, at most 255 characters, with no square brackets |

### `omumu_page_create`

Creates a new page. The page is live on the public site immediately — there is no draft step — and the result's publicUrl is the address it is served at. Two modes:

**Slot page (recommended for sales pages):** Pass 'template' (discriminator from omumu_template_list) and 'slotJson' (whole-document slot JSON validated against that template). For SALES templates, also pass 'offerId'. Wiring fields (offerId, purpose) must be tool parameters — never inside slot contents.

**Classic page:** Pass 'contents' with optional 'encoding' (QUILL_JSON or MANAGED_HTML). MANAGED_HTML is available but de-emphasised for selling pages — prefer slot pages instead.

- **Write category:** standard write
- **Access:** requires the `PAGE_WRITE` permission

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `contents` | string | no | Classic page content. Raw HTML when encoding is MANAGED_HTML, Quill JSON or markdown otherwise. Not used when creating slot pages. |
| `encoding` | string | no | Content encoding for classic pages: QUILL_JSON (default) or MANAGED_HTML. Not used when creating slot pages. |
| `offerId` | string | no | Offer ID this sales page sells. Required for SALES templates; must be a valid offer belonging to this site. Never pass inside slot contents. |
| `slotJson` | string | no | Whole-document slot JSON validated against the named template. Required when 'template' is provided. |
| `slug` | string | yes | The page URL slug (e.g., 'my-course-launch') |
| `template` | string | no | Template discriminator from omumu_template_list (e.g. 'sales-cold-traffic'). Required for slot page creation; causes slotJson validation against the named template. |
| `title` | string | no | The page title |
| `type` | string | no | Page type: blog, frontpage, userpage, terms, privacy, cookies, template, block, offer, thank_you |

### `omumu_page_delete`

Deletes a page by ID

- **Write category:** standard write
- **Access:** requires the `PAGE_DELETE` permission

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `pageId` | string | yes | The page ID to delete |

### `omumu_page_get`

Gets a page by ID or slug. At least one of pageId or slug must be provided. The result's 'public' field is false for a sales page whose offer is not published (visitors get a 404 there until it is), true otherwise.

- **Write category:** read-only
- **Access:** requires the `PAGE_READ` permission

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `pageId` | string | no | The page ID (provide this or slug) |
| `slug` | string | no | The page slug (provide this or pageId) |

### `omumu_page_list`

Lists all pages for the current site, optionally filtered by type

- **Write category:** read-only
- **Access:** requires the `PAGE_READ` permission

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `excludeOfferPages` | boolean | no | Exclude auto-generated offer pages |
| `type` | string | no | Filter by page type: blog, frontpage, userpage, terms, privacy, cookies, template, block, offer, thank_you |

### `omumu_page_update`

Updates a page. The change is live on the public site immediately — there is no draft step — and the result's publicUrl is the address the page is served at. For slot pages (encoding SLOT_JSON), pass 'slotJson' with the full updated slot document — wiring (offerId, purpose) is immutable on update and is not re-validated here. For classic pages, pass any combination of 'title', 'tagline', 'metaDescription', 'contents', 'image', or 'slug'.

- **Write category:** standard write
- **Access:** requires the `PAGE_WRITE` permission

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `contents` | string | no | New content for classic pages. Format depends on page encoding: raw HTML for MANAGED_HTML pages, Quill JSON for QUILL_JSON pages. |
| `image` | string | no | New header image URL |
| `metaDescription` | string | no | New meta description for SEO |
| `pageId` | string | yes | The page ID |
| `rootPublished` | boolean | no | Serve the page at the site root (/\<slug>) in addition to /page/\<slug>. Reserved platform names (admin, terms, courses, ...) are refused. Both addresses keep working; rendered links, canonical metadata, and the sitemap use the root URL. Omit to leave unchanged. |
| `slotJson` | string | no | Full updated slot JSON document for slot pages (encoding SLOT_JSON). The template discriminator is read from the existing slot document. Wiring is immutable. |
| `slug` | string | no | New URL slug (changes the page URL) |
| `tagline` | string | no | New tagline |
| `title` | string | no | New title |

### `omumu_template_list`

Returns all registered page templates with their section layouts and per-section JSON schema. Call this tool first when building a slot page so you know which template discriminator to pass to omumu_page_create and what slot fields each section expects. Each entry includes: 'name' (the discriminator), 'purpose' (e.g. SALES), 'sections', and 'schema'.

- **Write category:** read-only
- **Access:** requires the `PAGE_READ` permission

No parameters.
