Edit pages in place

How the marketing site's pages are built from blocks, edited in the full editor or on the live page, kept as drafts and published without a deploy.

Updated · 3 min read

Every word, link and image on the marketing site can be changed in the browser and published without a deploy. Pages live in the database. Visitors always see the last published version while you keep working on a draft.

Install the site template

Open Admin → Pages and click Install site template. It adds a full marketing site, published: home, about, features and six feature pages, pricing, guides, a blog, a changelog, contact, terms, privacy, a partner page and a not-found page, plus a shared header and footer. It creates pages only for addresses that are still free and never overwrites your edits, so running it again later adds any new template pages.

Use New page in Admin → Pages for anything else. A page lives at /<slug>; the page with slug home is /. Slugs are lowercase words joined by hyphens, up to four parts separated by /, such as guides/pricing. Addresses the app uses itself, such as account, admin and api, are refused.

Two ways to edit

On the live page. Signed in as an admin, you see a toolbar at the bottom of every site page. Click Edit page, click any heading and type. The header, page and footer each become editable and save as you go. A floating card styles the selected block. Publish publishes every part with unpublished changes.

In the full editor. From Admin → Pages, open a page to edit it full-window:

  • Left panel: Pages, Layers (the page as a tree you can drag to reorder) and Insert.
  • Canvas: Desktop, Tablet and Phone widths, with zoom.
  • Right panel: the selected block's settings, or the page's title, address and description when nothing is selected.
  • Keys: ⌘Z and ⇧⌘Z undo and redo, ⌫ deletes, Escape selects the parent, ⌘S saves.

Both editors save the draft shortly after each change, so you never need to save by hand.

Blocks and layers

Pages are trees of small layers. A Section holds Stacks, Rows and Grids, which hold Heading, Text, Button, Image and Icon. Each layer has its own styles per width: a value set for Tablet or Phone overrides Desktop and shows a reset. The style panel offers the site's spacing, colours and type scale, and accepts any custom value.

The Insert tab also offers ready-made Sections: heroes, feature grids, pricing plans, FAQs, testimonials, email signup, gated downloads, comparisons, a booking section and more. Many arrive as plain layers you can rearrange. A few, such as the FAQ accordion, the navigation menu and forms, stay whole blocks because they have behaviour.

The header's links can open a mega menu with an intro, items and a featured card. Below tablet width they fold into a drawer.

Write long posts with the Article block

For a guide, blog post or case study, insert an Article (Insert → Sections → Article). You write the body in Markdown: headings, lists, tables, quotes, links, images and code. The canvas shows it formatted as you type, and the panel counts words, minutes to read and sections.

  • The article has a kicker, a title (the page's main heading), a lead and the Markdown body.
  • With two or more ## or ### headings, an "On this page" list sits beside the text on wide screens and folds above it on phones.
  • The reading time and the contents list can each be switched off.
  • The body can hold up to 60,000 characters.

The template's /guides/write-an-article and /guides/get-found are written this way.

Drafts and publishing

Every save writes the draft. Publish copies the draft to what visitors see; Unpublish takes the page down. Admin → Pages shows each page as Draft, Published or Edited (published with changes not yet live).

  • A page's title and description set its browser title, meta description and share card.
  • Changing a published page's address keeps the old one working with a permanent redirect. The editor says so under the Address field, and Admin → Site settings lists the redirects.
  • Every save is checked on the server: only known blocks, safe links (https://, mailto:, a site path or #) and safe style values are accepted.

Published pages are served as finished HTML and listed in the sitemap and llms files. See Search engines and assistants.

The changelog page

/changelog shows CHANGELOG.md from the root of your repository, so the file you add release notes to is the page your customers read. Each day is a ## YYYY-MM-DD heading and each entry a ### Title · New, Improved or Fixed heading with bullet points. Links to the changelog show a "New" marker while the latest entry is under 30 days old and the visitor hasn't seen it. The changelog also has a feed at /changelog/rss.xml.

To test a change to a page before you keep it, see A/B and bandit tests.

Something unclear or missing? Ask us and we'll answer, then fix the page.