# Runway — Site Manager & Designer Guide > **Audience:** **site managers** (the people who run an individual site) **and limited-access > users** such as **designers** who log in only to edit pages. > **What this is:** how to configure a site and its plugins, manage its users and their > permissions, and create and author its pages. > **Doc status.** Every section covering a built capability is written; this document is self-contained and > carries no `_Pending_` placeholders. > **How to read this:** sections 1–12 are the full site-manager picture. If you are a > **designer** with limited access, start at **§13 — For designers** and follow its pointers > back into §6–§7 as needed. --- ## 1. Overview & roles at a glance A **site** is one self-contained tenant on the platform: its own pages, templates, static assets, users, roles, and per-plugin configuration. As a **site manager** you control **everything within your site — and nothing outside it.** You can never reach another site's data, nor the platform's own configuration; that boundary is enforced by the server on every request, not merely hidden in the UI. It is a foundational design decision, not a setting: a mistake or a compromise inside one site stays contained to that site. **Two worlds that never cross.** The platform has two completely separate sign-in worlds ("realms"), each with its own login page and its own user store: - the **application realm** — the operators who run the *platform itself* (create sites, install plugins, configure the server); - the **site realm** — the people who manage an *individual site* (you). Authenticating in one **never** grants the other. There is no shared account, no "escalate to the platform" path. A platform operator cannot log in and edit your pages as if they were one of your users, and you cannot reach the platform console. This keeps each side's blast radius to itself. **The accounts inside your site:** | Account | What it is | Reach | |---------|------------|-------| | **Site superadmin** (master) | Every site is created with exactly one top account. It fully manages the site and is the only account that may **restore a backup**. | The whole site. **Cannot be removed, disabled, or demoted** from inside the site — there is always a way back in. Only the platform operator can suspend it (for example while the account is investigated), and only they can resume it. | | **Administrator** | A full-access site user (the `ADMIN` role). Does everything a manager does day to day. | The whole site, except master-only operations (e.g. restore). | | **Operator** | A basic seed user (the `OPERATOR` role) — a starting point you grant real permissions onto. | Only what it has been granted. | | **Custom users** | Any user you create, carrying the roles and individual grants you assign. | Only what they have been granted; confined to **this one site**. | A site superadmin **may be assigned to more than one site** (the platform operator does that assignment) and then manages each of them — but it still **cannot operate at the application level**. Every other user you create belongs to **exactly one site**. **"Designer" is a persona, not an account type.** There is no separate designer login or role. A designer is simply a user you have granted page-editing access to (see **§5**, **§13**). They may work entirely outside the platform in plain HTML and hand you finished files, or log in and edit in the admin UI — either way, the same permission gates the work. --- ## 2. Signing in to site administration Your site answers on its own hostname. Sign in at **`/login`** on that host — for example `https://your-site.example/login`. This is the **site** login; it is a different page and a different account store from the platform operators' login (`/app/login`), and the two never mix (**§1**). On success you land in the **site console at `/__admin`** — your dashboard, with the admin navigation across the top: The links are organized into **dropdown groups** so the bar stays short: | Group | Menu item | Where it goes | Covered in | |-------|-----------|---------------|------------| | — | **Dashboard** | `/__admin` | this section | | **Resources** | Pages | `/__admin/pages` | §6, §7 | | **Resources** | Review | `/__admin/review` | §10 | | **Resources** | Fragments | `/__admin/fragments` | §6 | | **Resources** | Content widgets | `/__admin/widgets` | §8 | | **Resources** | Documents | `/__admin/documents` | §11 | | **Resources** | Static files | `/__admin/static` | §11.1 | | **Resources** | Messages | `/__admin/messages` | §9 | | **Access** | Users | `/__admin/users` | §4 | | **Access** | Permissions | `/__admin/permissions` | §5 | | **Activity** | Insights | `/__admin/insights` | §10 | | **Activity** | Bandwidth | `/__admin/bandwidth` | §3 | | **Activity** | Logs | `/__admin/logs` | §3 | | **Settings** | Site config | `/__admin/config` | §3 | | **Settings** | SEO | `/__admin/seo` | §10 | | **Settings** | Icons | `/__admin/icons` | §3 | | **Settings** | Web app manifest | `/__admin/manifest` | §3 | | **Settings** | Backup & restore | `/__admin/backups` | §12 | | **Settings** | Maintenance | `/__admin/maintenance` | §3 | | **Settings** | *(each configurable plugin)* | `/__admin/plugins//settings` | §8 | A badge in the top bar shows **"`` site management"**, so you always know which site you are working in (useful if you manage several). Whole groups or individual items you have no permission for simply don't appear — an empty group hides itself. Each item is shown exactly when its screen would let you in, by the same check: **Pages** needs *Edit pages* or *Disable pages*; Fragments, Content widgets, Messages, Site config, SEO, Icons and Web app manifest need *Configure site*; Documents, Backup & restore, Maintenance and **Insights** need their own permission; **Users** needs *Manage users* or *Delete users*; **Permissions**, **Bandwidth** and **Logs** are for the site's superadmin and administrators. Hiding a link is only a convenience — every screen checks again on its own. Each plugin that offers per-site configuration adds its own entry at the bottom of the **Settings** group (there is no separate "Site settings" page any more). **Your account.** Open the user menu (top-right) → **Account** (`/__admin/account`). **Your profile** sets the display name shown in the top bar and the user lists, and your **recovery email**, where a "Forgot your password?" link is sent; changing the email asks for your current password, so a session left open on someone else's screen cannot redirect your password resets. **Change your password** takes the current password, the new one and a confirmation. Five wrong current passwords in a row, on either form, sign that session out and show the sign-in page (even when they are sent all at once); each wrong one is recorded in the site's log as `account.password-check-failed` with the address it came from, and counts toward the same lockout from your network as a failed sign-in. Changing it **signs out every other session on your account** — another browser, another device, or your sign-in to another site you manage — on its next click, while the session you changed it from stays signed in. If you think someone else knows your password, changing it is how you throw them out. Every password field on the platform has a **show/hide eye toggle** so you can verify what you typed before submitting; the toggle sits at the tail of the tab order so it never interrupts your path from field to button. **Forgot your password?** If your login page shows a **"Forgot your password?"** link, enter the email address on your account and Runway emails you a one-hour, single-use link to set a new password. It works only if your account has a **recovery email** set (§4) and the platform operator has configured mail — if the link isn't shown, ask your operator to reset your password. The link works only on **this site's** login; it never crosses to another site or to the platform console. **Signing out.** The user menu → **Sign out** ends your session and returns you to the site login. > **Verify:** after signing in, the top bar reads *"`` site management"* and the > URL is `/__admin`. If instead you see the platform console or an "application" badge, you > signed in to the wrong realm — that cannot happen from `/login`, so re-check the host. **Using the console with a keyboard or a screen reader.** Both consoles (this one and the platform operator's) work without a mouse: - **Skip to main content.** Press **Tab** once on any console screen: the first stop is a "Skip to main content" link (hidden until it has focus) that jumps past the menus. - **Language.** The page language follows the console language you choose in the top bar, so a screen reader pronounces it correctly; the current language and the current menu entry are announced as such. The console offers English and Spanish unless your operator changed the list. Until you choose, the console follows your browser's language when it is offered. Your choice is remembered in this browser only, in a cookie of its own, so it never changes the language your visitors see (that is the site's own language choice, **§9**). - **Code editors** (page HTML, decoupled logic, fragments): **Tab** indents inside the editor. To move on, press **Esc** and then **Tab** — the hint under the editor says so. - **Listing tables** (pages, users, documents, …): focus a column header and press **Enter** to sort by it; **Down arrow** or **Shift+F10** opens the column menu (sort, order, move, widen/narrow); in the menu the arrows move, **Escape** goes back to the header and **Tab** closes it and moves on. - The password **show/hide** eye is deliberately not a Tab stop — Tab goes from the password straight to the button; use the mouse or touch to reveal what you typed. > **Verify:** on the Pages screen press Tab once — "Skip to main content" appears top-left; press Enter and > the next Tab lands in the page content, not in the menu. --- ## 3. Site configuration The **Settings** menu is a dropdown, not a page: it gathers the site-shaping screens (SEO, Icons, Web app manifest, Backup & restore, Maintenance) and, at the bottom, one entry per plugin that offers per-site configuration (see **§8**). There is no general "Site settings" landing page. The site's **name**, its **default language and the set of languages it offers**, its public **contact** details and its site-wide **template parameters** are edited on **Site config** (`/__admin/config`, gated by *Configure site*), and templates show them through `${contact}` and `${params}` (**§7**); the platform operator can also change the name and languages from the application console. Its **hosts** (the addresses it answers on) and the origin its absolute links are built on (canonical links, sitemap, social cards) are set by the platform operator; Site config shows both read-only under **General** ("Addresses", "Links built on"). How the operator sets them, and the site's other operator-held settings (suspension, the site files on the server), is in [ADMINISTRATION.md](ADMINISTRATION.md) §10. **Name and languages, in detail.** The **name** cannot be blank. It is the `og:site_name` a shared page carries (and the shared title of a page that has none), and templates read it as `${site.displayName}` (**§7**). Languages are language tags: `en`, `es`, `fr`, or with a region, `pt-BR`. *Add a language* takes one per save. A tag the platform cannot read (`pt_BR`, with an underscore) is skipped without a message, so check the list after saving. The default must be one of the offered languages; otherwise the save is refused. **Offer one variant per language:** a page keeps its titles, descriptions and localized paths per language, and a language's addresses start with the language alone (`/pt/…`), so `pt-BR` and `pt-PT` together would share all of them. When you remove a language that pages still declare, the save names those pages; review them in the page editor. The site **id**, shown in the top-bar badge, never changes: it is the name of the site's folder on the server. It is made of letters, digits, `.`, `_` and `-`, and starts with a letter or digit. **Template parameters on disk.** On the server they are the site's `params.yml`, one `key: value` per line. If a hand edit gives a key a nested value (a list, or indented keys under it), the whole file cannot be read: the site then has **no** parameters until the file is fixed, and the server log says so. **Embedded content.** A browser loads a third party into your pages — a video player, a map, images from another host — only if the page's security policy allows it, and that policy is the platform's. Under **Site config → Embedded content** you see the hosts the platform operator has approved, each with what it may provide (for example "frame-src" for an embedded player). Tick the ones your pages use and save: from the next page load your **public** pages allow them (never your console). If a host you need is not listed, ask the operator to approve it. Scripts from other hosts cannot be switched on here; they are the operator's decision for the whole platform. Two further site-shaping controls you hold from the console: - **which languages each page is published in** — set per page in the page editor (**§6**, **§9**); - **how strictly publishing is governed** — the **Editorial workflow** on Site config: *Advisory* (the default), *Enforced* or *Reviewed* (**§10**). Changing it also needs *Approve pages*; - **the site's look and chrome** — owned entirely by the site's own templates and static assets, which you edit as HTML/CSS (**§7**). The **SEO** screen (`/__admin/seo`, gated by *Configure site*) is built — set your site's social-card, search-engine-verification and extra-`` metadata there (**§10**). The **Icons** screen (`/__admin/icons`, same permission) is built too. The fastest path is **Generate from an SVG**: upload one master SVG and the platform produces the whole raster set for you (apple-touch, 192, 512 and `favicon.ico`) and keeps the SVG as your SVG favicon — existing slots are replaced. You can also upload any slot manually, one at a time. The icons a page needs are referenced from its `` automatically, and `/manifest.webmanifest` is served with an icon list derived from the slots you actually provide; a slot you leave empty simply isn't advertised. Each icon file, and the SVG you generate from, can be up to 256 KB. A manual upload is stored as it is, without checking its format or size, so give each slot the file it expects: an SVG for the SVG favicon, an `.ico` file for `favicon.ico`, and PNGs of 180×180 (apple-touch), 192×192 and 512×512 pixels — the sizes *Generate* produces (its `favicon.ico` is 32×32). The two favicons and the apple-touch icon are linked from every page's ``; the 192 and 512 PNGs and the SVG are listed in the manifest. The SVG favicon is sent with a sandbox policy, so a script inside it cannot run if someone opens `/favicon.svg` directly; browsers still show it as the icon. The **Web app manifest** screen (`/__admin/manifest`, same permission) is the companion to Icons — edit the manifest's name, short name, description, theme/background colors, display mode and language there; those fields plus the icon slots make your site installable as a progressive web app. Colours are written as `#rrggbb` (or `#rgb`, `#rrggbbaa`); the display mode is chosen from the four a browser knows (`fullscreen`, `standalone`, `minimal-ui`, `browser`, or Default to let it decide); the language is a tag such as `en` or `pt-BR`. A value outside these is refused with the reason, because a browser would silently ignore it. What each field does: *Name* is the app's full name once installed; *Short name* is the label under its icon on a home screen; *Description* is a sentence about it; *Theme color* tints the browser's toolbar, and is also sent as a `theme-color` tag in every page's ``; *Background color* fills the screen while the installed app starts; *Language* is the language those texts are written in. The display modes: `fullscreen` uses the whole screen, `standalone` opens in its own window like an app, `minimal-ui` does the same with a few browser controls, and `browser` opens an ordinary tab. A field left empty is left out of the manifest; nothing is filled in from the site name or the default language. While no field is set and no manifest icon (192, 512 or SVG) exists, `/manifest.webmanifest` answers 404 and pages do not link to it. The **Logs** screen (`/__admin/logs`) shows your site's own **access log** (public traffic — the most recent lines) and its **audit journal**: who did what on your site, and when. The journal records sign-ins (`login.success`, `login.failure`) and sign-outs (`logout`), each with the address it came from (`ip=…`, in full: the anonymizing setting below applies to the access log only); password recovery through an emailed link (`recovery.requested`, `recovery.completed`); page changes (`page.saved`, `page.deleted`, `page.published`, `page.unpublished`); user changes (`user.created`, `user.password-reset`, `user.deleted`); role and permission changes on **Permissions** (`permissions.role-assigned`, `permissions.permission-granted`, `permissions.role-created` and their counterparts); and settings changes — a plugin's settings (`plugin.settings-changed`, naming the plugin), the site settings (`site-config.changed`, naming which parts — name, languages, contact, parameters) and these log settings (`logs.settings-changed`). Only changes that took effect are recorded, and **never a password, a reset link or a setting's value** — a template parameter or a plugin setting may hold something you would not want copied into a log. The journal is a table, newest first, 100 entries per page, covering everything your retention keeps (page through it with **Older** / **Newer**). Filter by a **date range**, an **actor** and an **action** — both match any part of the text, so action `page.` shows every page change. Each action is shown in your console language with its key beneath it. **Download CSV** exports the filtered entries (up to 10 000 rows, times with their UTC offset); a value a spreadsheet would treat as a formula is prefixed with `'` so it cannot run when opened. A search reads a bounded amount of the journal; if it stops early the screen says so — narrow the dates. The screen and the CSV are restricted to a site's administrators — logs are strictly private to your site and are never visible to the platform operator or any other site. From the settings panel you can **anonymize client IP addresses** in the access log (on by default: an IPv4 address is written with its last part as `0`, an IPv6 address keeps only its first three groups). The masking happens when a line is written, so switching it changes only the lines written afterwards. You can also choose how many **days** of logs to keep, 30 by default, up to the platform's maximum (90 unless your operator changed it; the field's hint says it). A value above it is refused. If the operator lowers the maximum below what you chose, your choice is kept, the logs are kept only up to the new maximum, and the panel says so until you save a value within it. Logs are *transient*: they never travel in a backup, so restoring a site never carries old logs. The **Bandwidth** screen (`/__admin/bandwidth`, site-admin only) charts your site's data transfer — a 30-day daily graph plus 24-hour / 7-day / 30-day totals. Like logs, the underlying stats are transient and never travel in a backup. (The platform operator can also see an all-sites aggregate, but only these same byte totals — never your logs or content.) The platform operator *may* set an outbound **bandwidth quota** for your site. The screen shows it under the 30-day total ("Of a 50.0 GB cap per 30 days, set by the platform operator", or "No cap on this site's traffic"). If your rolling-30-day traffic exceeds it, your **public** pages return a temporary "unavailable" notice (503) while this console, its sign-in and password recovery stay reachable, and the screen shows a red warning. Contact your operator if you need a higher allowance: the cap is theirs and not editable from here, and a raised cap reopens your site at once. The **Maintenance** screen (`/__admin/maintenance`, gated by *Maintenance mode*) takes your **public** site offline for maintenance: turn the switch on and visitors see a simple *"Down for maintenance"* page (HTTP 503) carrying an optional message you provide — while your **console, login and password recovery ("Forgot your password?") stay reachable**, so you are never locked out and can switch it back off. The message is plain text, shown exactly as typed (no formatting, no links), and is cut at 2,000 characters. Left empty, visitors read *"This site is temporarily down for maintenance. Please check back shortly."* The maintenance page is the platform's own, in English whatever your site's languages; it does not use your master or your error pages. It asks search engines to come back in an hour. Turning maintenance off clears the message and the public site is live again immediately. Maintenance is independent of an operator **suspension**, which takes precedence regardless of this switch. While your site is suspended, **every** address on it — your public pages, `/login` and this console alike — answers *"This site is temporarily unavailable."* (HTTP 503), so nobody can sign in until the operator resumes it. If you see that message on `/login`, ask your operator. _Per-site **styles** are your own files under `static/` (for example `static/css/site.css`), managed on the **Static files** screen (**§11.1**) and linked from your master (**§7**)._ --- ## 4. Users & access Manage your site's users from **Users** (`/__admin/users`). The site superadmin and full-access administrators reach this screen and can do everything on it. You can also **delegate** user management without making someone an administrator, with two permissions (**§5**): - ***Manage users*** opens the screen and lets the holder **create**, **edit**, **suspend**, **resume** and **reset the password** of users; - ***Delete users*** lets the holder **delete** users (on its own, it shows the list with only the *Delete* buttons). A delegated manager who is not an administrator works **within their own authority**: they create **Operator** accounts only (never an *Administrator*), cannot add custom roles when creating a user, cannot change anyone's role, and can act only on users who hold **nothing they do not hold themselves** — never on an administrator, and never on an operator who was granted more than they were. Rows outside that reach show no buttons, and the server refuses such an action with *"This account holds more than you do"*. **Why:** resetting someone's password is taking over their account, so letting a helper reset an administrator's password would make *Manage users* a back door to full access. Every action here affects **only your site** — you can never see or touch another site's users. **Create a user.** Fill the *Create a user* form: username, a starting password, a **role** (*Operator* or *Administrator*), and optionally a display name and email. The new user belongs to **exactly this site** and can sign in at your site's `/login`. The username must be **free on this site**: not already used by another user of the site, and not the name of a **superadmin** who manages the site. Names are compared ignoring upper/lower case and surrounding spaces, so `Owner`, `owner` and ` OWNER ` are the same name. A taken name is refused with *"The username … is already in use"*. **Why:** everyone signs in on the same `/login` form, so two accounts with one name would be ambiguous — and a helper with *Manage users* could otherwise create a user named like the superadmin, sign in under that name, and lock the real superadmin out. If an older install already has such a pair, the **superadmin** is the one who signs in, and the server log names the clash; delete the other user. - Create as **Operator** for a basic account you'll then grant specific permissions to (**§5**) — the right choice for a **designer** who should only edit pages. - Create as **Administrator** for a trusted full-access manager. **Edit a user.** Use **Edit** on the user's row to change their **display name**, their **email** (the address password recovery mails a reset link to) and their **role** (*Operator* ↔ *Administrator*). The username — what they sign in with — does not change. A role change takes effect **immediately**, even in a console tab the user already has open: their next click runs with the new role. You cannot change your **own** role (you could demote yourself with nobody to undo it). **Suspend and resume a user.** **Suspend** blocks an account without deleting it — for someone who has left the team for a while, or an account you think someone else is using. A suspended user cannot sign in (the login page just says the credentials are invalid), is **signed out on their next click** if they have the console open, and cannot use *Forgot your password?*. Everything else about the account — password, email, role, permissions — is kept, so **Resume** gives back exactly the access they had. Suspended users carry a **suspended** badge in the table. You cannot suspend your own account. Both actions are written to your site's **audit log** (**§3**, Logs) with your name. **Reset a password.** Pick the user in *Reset a password*, type a new one, and submit. Any session the user has open is **signed out on their next click**, so a reset also locks out whoever else may have been using the old password. (Resetting your own password here keeps *your* session, like the Account page. A user can also change their own password from their **Account** page — **§2** — and a password set through a *Forgot your password?* link signs out their open sessions too.) **Delete a user.** Use **Delete** in the users table. Deleting a user also ends any session they still have open. Prefer **Suspend** when the person may come back. > **Why you can't lock yourself out:** the site superadmin (master) account cannot be deleted, > disabled, suspended or demoted from this screen — it is not even listed here, because it is managed > by the platform operator — so there is always one account that can manage the site. Guarding the > last way in is deliberate. The superadmin sets its own display name and **recovery email** on its > **Account** page (**§2**), like any user; the platform operator can also set them on their *Site masters* > screen. Without a recovery email, *Forgot your password?* cannot reach the superadmin. **The permissions each user ends up with** — the roles they hold and any individual grants — are managed on the **Permissions** screen (**§5**). > **Verify:** after *Create user*, a green confirmation names the user and it appears in the > table. Sign in as that user at `/login`; it lands in `/__admin` but sees only the menu items > its permissions allow. --- ## 5. Roles & permissions Open **Permissions** (`/__admin/permissions`) to see, for your site, every user with their **roles** and **direct grants**, every **role** with the permissions it grants, and the forms to assign them. Like everything else, this screen is scoped to your site alone — the realm is fixed by *who you are*, so you can never drive another site's (or the platform's) permission matrix. **The three seed roles**, arranged as a hierarchy: | Role | Key | What it is | |------|-----|------------| | **Site superadmin** | `SUPERADMIN` | The immutable top of the hierarchy — the site's master account (**§1**). Always passes every check within the site; cannot be removed or demoted. | | **Administrator** | `ADMIN` | Full access to the site, except master-only operations (like restoring a backup). | | **Operator** | `OPERATOR` | An ordinary seed role — a starting point with no special power; you grant it exactly the permissions a user needs. | You can also build **custom roles** and arrange them in a hierarchy: a parent role **accumulates everything beneath it**. (The two reserved keys `SUPERADMIN` and `ADMIN` are sealed — a custom role can neither be named one nor inherit one.) **The model is additive — there is no "deny."** A user's effective access is the **union** of: 1. every permission from every role they hold (and everything **beneath** those roles in the hierarchy), plus 2. any **individual permissions** granted directly to that user. There are **no negative grants** on a user — you never take a permission *away* from a person; you give them fewer roles or grants. (The superadmin and full-admin roles sit *above* this union as short-circuits — they pass regardless.) This makes access easy to reason about: to see what someone can do, add up their roles and their direct grants. You *can* tune what a **role** grants: on the Permissions screen you may **grant a permission to a role** or **revoke one from a role** (a per-site adjustment layered over the role's platform defaults — it changes what the role means *on your site* without touching the code). What you never do is deny a permission to an individual after their roles have granted it. **The built-in site permissions** you can assign: | Permission | Allows | |------------|--------| | **Edit pages** (`EDIT_PAGES`) | Create, edit, save, preview, re-seed, rename and delete (draft) pages. The core designer permission. | | **Disable pages** (`DISABLE_PAGES`) | Take a page offline / bring it back (the Disable/Enable toggle). On a **Reviewed** site, bringing a page online also needs *Approve pages*. | | **Approve pages** (`APPROVE_PAGES`) | On a **Reviewed** site: publish, open the **Review queue**, approve or send back what editors submit, and publish one's own edits directly; on any site: change the **editorial level** (**§10**). | | **Manage users** (`MANAGE_USERS`) | The **Users** screen (**§4**): create, edit, suspend, resume and reset the password of users — Operator accounts that hold nothing beyond the holder's own permissions; never an administrator, never a role change. The **Permissions** screen stays with the site's administrators. | | **Delete users** (`DELETE_USERS`) | Delete users on the **Users** screen, within the same reach as *Manage users*; on its own it opens the screen with only the *Delete* buttons. | | **Configure site** (`CONFIGURE_SITE`) | Site-wide configuration: **Site config**, **SEO**, **Icons**, **Web app manifest** (**§3**, **§10**), and the **Fragments**, **Content widgets**, **Static files** and **Messages** screens. | | **Maintenance mode** (`MAINTENANCE_MODE`) | Take the public site offline with a notice — the **Maintenance** screen (**§3**). | | **Manage documents** (`MANAGE_DOCUMENTS`) | The site's **Documents** screen (**§11**). | | **Manage backups** (`MANAGE_BACKUPS`) | Save backups on the server, delete them, and download **transfer copies** (**§12**). Downloading a *full* backup and restoring stay with the site's administrators. | | **View site insights** (`VIEW_SITE_INSIGHTS`) | The **Site insights** report — top 404s and most-visited pages (**§10**). Held by no role until you grant it, so out of the box only site administrators see it, as with Logs; unlike Logs it shows only paths and counts, never an IP address, so it is safe to hand to an editor. | Installed **plugins may add their own permissions**, which appear in the same matrix and are assigned the same way. > **Verify:** grant *Edit pages* to an Operator user, then sign in as them — the **Pages** menu > item now appears and they can open the editor; they still see no **Users** or **Permissions**. > Grant them *Manage users* as well and **Users** appears: they can create an Operator, but the > *Administrator* choice is not offered and an administrator's row has no buttons. > Assignments that would exceed your own authority are rejected with a clear message rather than > silently applied. --- ## 6. Managing pages **Pages** (`/__admin/pages`) lists your site's pages — slug, path, the languages each is published in, and status — **Draft**, **In review**, **Draft · sent back**, **Published**, **Published · pending revision** or **Published · revision sent back** (the last four only on a site that uses review, **§10**) — with **New page**, **Edit**, and a **Disable/Enable** toggle. Editing needs *Edit pages*; the toggle needs *Disable pages* (**§5**), and on a *Reviewed* site **Enable** is shown only to users who may approve pages. **Create a page** — **New page** (`/__admin/pages/new`): give it a **slug** (its id and file name: letters, digits, `.`, `_` and `-`, starting with a letter or digit; ids beginning `rw-preview-` are kept for previews; you can change it later with **Rename**, below), an optional title and path, and pick a **Master**: - a **master** (e.g. `_master`) → the page is **born from that master** — it starts as a copy of the shared frame with the correct chrome already in place, so it previews finished and carries the exact seams the platform expects (**§7**); - **Standalone (no master)** → a single self-contained HTML file with no shared chrome — right for a quick draft or a one-off. Creating drops you straight into the editor. **The page editor** (`/__admin/pages//edit`) is a two-column workspace: - **Left** — the **Page HTML** (a syntax-highlighted code editor), an optional **Decoupled logic** area (the paired binding file — see **§7**; leave it empty for a plain page), and the **Metadata** (path, master, active-nav, author, publication date, canonical URL, Cache-Control, the **Locales** checkboxes, per-locale title/description/path, the three search-engine switches and the template parameters, all below). - **Right** — a **live Preview** and the **Page quality** panel (**§10**). **Save** with the **Save** button. **Preview** renders the page **bound** — real data, the site's real chrome, actual language — in an **isolated frame**: the preview runs with no access to the editor, your session, or its security token, so even a page's own scripts can't reach back into the console. It shows you *production*, not just your sample text. **The preview follows your typing.** About half a second after you stop typing in **Page HTML** or **Decoupled logic** (or upload a file into either), the preview re-renders what is in the editors — **before you save** — and an **Unsaved changes** badge appears next to its title. Nothing is saved by this: the badge means the preview is ahead of the saved page, and **Save** is still what keeps your work (the badge disappears after the save reloads the editor, or when you undo back to the saved text). The old preview stays on screen until the new one is ready, so it does not flicker. Two things it does not follow until you save: the **Metadata** fields (title, path, master… — the preview uses the saved ones, or those of the pending revision you are editing), and the **popped-out** preview window, which shows the saved page (when you reattach it, the panel catches up with your edits). If a preview cannot be produced in time — the server unreachable, your session expired — the panel goes back to the saved page and stops following your typing until you reload the editor; your editing is not affected. A mistake in your markup shows up *in* the preview as an error message, so you can fix it before saving. **Editor conveniences.** Each code panel (**Page HTML**, **Decoupled logic**) carries **download** and **upload** icons: download a copy (named `.html` / `.th.xml`) to edit in your own tool, then upload it back into the editor — you still click **Save** to apply it. A per-panel **expand** toggle grows a code editor when you need more room. On a wide screen the **⅓ · ½ · ⅔ · ¾** control next to the page title splits the editor and preview columns to taste — **¾** narrows the preview to sanity-check a **mobile-width** layout. And **Pop out** detaches the preview into its own window so you can arrange the editor and preview however you like (the Preview panel also shows a small **warning/error flag** when the **Page quality** panel has open items — see **§10**). **Publish vs. draft.** A page carries a **draft** flag; a published page is served on the public site, a draft is not. Use the **Disable/Enable** toggle on the Pages list (or **Publish** in the editor) to take a live page offline and bring it back. On an *Enforced* or *Reviewed* site a page with quality **errors** cannot be published, and on a *Reviewed* site editors **submit for review** instead (**§10**). **Metadata fields.** Each applies on the next request once saved. On a *Reviewed* site, a change to a published page made by someone without *Approve pages* applies once it is approved. | Field | What it does | Values, and what blank means | |---|---|---| | **Path** | The page's address in the default language. | Starts with `/`. Blank: `/`. Refused with *"The page path is not valid."*: `..`, `//`, `\|` or a control character, and any address under `/__`, `/actuator`, `/static` or `/error`, which belong to the platform. Two published pages cannot share an address in one language (*"Another page already uses that path."*). Do not begin a path with the code of a language your site offers (`/es/…` on a site offering Spanish, `/en/…` on one offering English): that first part is read as the language, so the page is never served at that address. | | **Localized path** (per language, under *Per-locale title, description and path*) | The page's address in that language (**§9**). | The same rules as Path, but a value of the wrong form is **dropped** on save without a message, and that language falls back to Path. A clash with another published page is refused, as for Path. Kept per language, so region variants of one language share it (**§3**). Blank: Path. | | **Title**, **Description** (per language) | The page's title and description in that language. | Blank in one language: the page shows another language's value — whichever is found first, not necessarily the default's — so fill every language you publish in. The quality panel flags a missing title (**§10**). | | **Master template** | The master this page is shown in (**§7**). | The name of a master listed on **Fragments**, such as `_master`: `_`, then a letter or digit, then letters, digits, `.`, `_` or `-`. A name of `_` and digits only (`_404`) is an error page, not a master, and is refused. Blank: `_master`. New page offers a list; here you type it. | | **Active nav item** | A word the master compares to mark the current menu item. | Use the key your master checks. The starter master highlights its `nav-home` link for `home` and its `nav-about` link for `about` (it adds the class `is-active`); a master of your own reads the value as `${activeNav}`. Blank: nothing is marked. | | **Author** | Who is credited for the page. | Free text, a name. Templates show it as `${page.provenance.author}`, and plugins that emit structured data can use it. Blank: no byline — right for a landing or contact page. | | **Published on** | The date the page was first published. | A date, stored as that day at midnight UTC; editing the page later does not move it. Templates read it as `${page.provenance.publishedAt}`. A value that cannot be read as a date is saved as no date. Blank: no date. | | **Canonical URL** | Replaces the address the page declares as its original (`` and the shared card's `og:url`). For a page that copies one published elsewhere. | A full URL is used as typed; a value starting with `/` is added to the address your links are built on (Site config, *Links built on*). It is not checked, and it replaces the canonical of **every** language of the page with that one address. The page's real addresses and its language alternates do not change. Blank: each language's own address. | | **Cache-Control** | How long a browser or CDN may keep this page without asking again. | Sent exactly as typed and not checked, so a typo goes out as is. `no-store` stops anyone keeping the page; `private` lets the visitor's browser keep it but not a shared cache. The page also carries a version tag (an ETag), so a cache that asks again after its time is up gets a quick *not modified* when nothing changed. A request with a query string to a page whose page or master carries a widget is sent as `private, no-cache` whatever you set (**§8**). Blank: the platform's default, `public, max-age=300, stale-while-revalidate=60` unless your operator changed it. | **Search-engine switches.** Three checkboxes in **Metadata** decide how engines treat this one page. **Exclude from search engines** keeps it out of results altogether. **Do not show a snippet** is the gentler one: the page stays indexed and keeps ranking, but engines are asked not to quote its text — which also governs whether it may be used in a generative answer. Reach for it when a page should be findable but not repeated elsewhere, and for *Exclude* only when it should not be found at all. **Removed permanently** takes effect **only while the page is unpublished**: its address then answers *410 Gone* instead of *404 Not found*, which tells search engines the page is not coming back and they should drop the URL rather than keep retrying it. Leave it off for a page you are pulling down temporarily — a 410 invites engines to forget it. **Template parameters.** At the bottom of **Metadata**, *Template parameters* are key/value pairs your templates read as `${params.key}` — an analytics id, a phone number, a campaign switch. Your site has its own set too, edited on **Site config** (`/__admin/config`), and a page's own value **wins** over the site's for the same key. So that you always see what a render will actually use, the editor shows: - under each of the page's own parameters, **"Overrides the site value: …"** when the site also defines that key — the value you are replacing on this page; - below the rows, **Inherited from the site** — the site parameters this page does not override, with their values, read-only. To change one for the whole site, edit it on **Site config**; to change it for this page only, add a row with the same key here. A saved parameter is live at once, everywhere it reaches: a site parameter saved on **Site config** changes the version tag (the ETag) of every page of the site, so a visitor's browser or a CDN holding an older copy fetches the new page at its next check instead of being told "unchanged". The same holds for a fragment saved on **Fragments**, a placement saved on **Content widgets**, and a page whose address changes (every page linking to it by `${urls['…']}` moves with it). **Re-seed chrome from master.** After the site's **master** changes, click **Re-seed chrome from master** in the editor to refresh *this page's* copy of the shared frame. Re-seed **preserves your content** — it rewrites only the chrome seams, never your `
` content or your page-specific head — so it is safe to run. (A page built on the master's seams always pulls the live master, so for it this keeps the page's offline/preview copy current. A page **without** seams — an imported or standalone page — serves its own copy, so re-seeding it changes what visitors see.) A re-seed is an **edit**, so it follows your site's editorial level (**§10**) exactly like **Save**: on a **Reviewed** site, if you cannot approve pages, re-seeding a published page saves it as a **pending revision** for an approver (if the page already has one, that revision is re-seeded instead, so your pending changes are kept); on an **Enforced** or **Reviewed** site, a published page is re-seeded only if the result passes the quality checks — otherwise you see *"Not re-seeded"* with the errors. **Why:** a re-seed that wrote the public page directly could, on a reviewed site, put something live that no approver had seen. **Rename a page.** Below the editor, **Page id** → **Rename** changes the page's id: the name of its files, and how templates link to it (`${urls['id']}`). If the page's path is `/`, the path follows the new id and the old address stops answering (a visitor or search engine using it gets a 404); a page with a path of its own keeps it. Links written with the old id (`${urls['old-id']}`) must be updated by hand. Who may rename: **Edit pages** renames a draft, or a page with its own path. Renaming a **published** page whose address follows its id moves a public address, so it also needs **Publish/unpublish pages**, and **Approve pages** on a Reviewed site — the same as publishing. A page with pending review work cannot be renamed until that work is approved, sent back or withdrawn. **Delete a page.** **Delete page**, at the bottom of the editor, removes the page and its files after you confirm; its address answers 404 from then on, and only restoring a backup brings it back. To hide a page but keep it, use **Disable** on the Pages list instead. **Edit pages** deletes a draft; deleting a **published** page needs **Publish/unpublish pages** as well (and **Approve pages** on a Reviewed site). A page with pending review work cannot be deleted until that work is resolved. > **Verify:** type a word into **Page HTML** and pause — the Preview shows it and the **Unsaved > changes** badge appears; reload the page without saving and the word is gone. After **Save**, the > confirmation shows and the Preview reflects your change. After > **Disable**, the page's status badge flips and the public URL stops serving it; **Enable** > brings it back. ### Fragments and error pages **Fragments** (`/__admin/fragments`, *Configure site*) lists the site's shared pieces: files whose name starts with `_`, such as the layout `_master` and includes like `_head` or `_nav`. They are never reachable by an address and never listed as pages; masters and pages pull them by name (§7). **New fragment** creates one, **Edit** opens the same code editor as a page (HTML, plus optional decoupled logic), **Delete** removes it, and **Reload** re-reads a file changed outside the console. Every change is live on the next request. **Error pages**, on the same screen, are what a visitor sees for an error in your site's own look: `_404` when an address does not exist, `_410` for a page you removed on purpose, `_500` when something fails, and any other status from 400 to 599. Type or pick a status and press **Create error page**: it starts from your `_master` (header, footer, styling) with a heading and a sentence for that status in English, which you rewrite in your own words. Edit and delete it like a fragment. A status without its own page gets the platform's plain page, and so does any error page whose master fails to render, so a broken master never hides the error. Error pages are never cached and never indexed. An error page always uses `_master`, and its logic gets fewer values than a page (**§7**): `site`, `page`, `locale`, `master`, `year` and `pageTitle` (the status and its English name, such as `404 Not Found`), with `pageDescription`, `activeNav`, `canonical`, `alternates`, `xDefault`, `siteLocales`, `widgets` and `urls` empty. `params` holds the site's template parameters (an error page has none of its own), `contact` the site's contact details, and `noindex` is true, so a master that shows a phone number or an email in its footer looks the same on an error page. > **Verify:** create the 404 page, change its heading, save, then open an address that does not exist on your > site, such as `/no-such-page`: your page appears, with your header and footer. Delete it and the same address > shows the plain platform page. ### Plugin content and URL conflicts Some plugins serve **their own pages at your site's URLs** — a blog plugin's entries, a shop's product pages. To visitors these are ordinary pages of your site: they wear your master's chrome, follow the same language rules (per-language slugs, the `?lang=` switcher), and, when a plugin provides your sitemap and `llms.txt` (**§10**), appear in them automatically. You do **not** see them in the Pages list — the plugin that owns them gives you its own screen to manage them. **When a page and plugin content want the same address, your page wins** — always. The plugin's content simply becomes unreachable at that address while your page keeps it. This is never silent: - the **page editor** warns you (a *Page quality* finding) when your page's path is also served by plugin content, naming what you are shadowing; - the **Pages screen** shows a **URL conflicts** panel — only while conflicts exist — listing every contested address, its language, who wins, and what happens; - a well-behaved plugin warns on **its** side too, when you give its content a path a page owns. Two *plugins* claiming the same address is a configuration error: requests to that address fail (loudly, in the log) until you change one of them — the conflicts panel names both. **Linking plugin content from your pages**: the same by-id link map that keeps page links from breaking (**§7**) also carries plugin content, keyed `:` — e.g. `th:href="${urls['posts:my-post']}"` resolves to that entry's URL *in the language being served* (localized slug and language prefix included), falling back to the entry's primary language so the link never 404s. > **Verify:** create a page whose Path matches a plugin entry's URL — the editor shows the > shadow warning, the Pages screen grows the conflicts panel, and the public URL serves your > page. Delete the page (or move its path) and the entry serves again; the panel disappears. --- ## 7. Authoring pages — the design contract Runway's authoring model is **page-as-entry**: a **page is a complete, ordinary HTML document**. Open your `.html` from disk (`file://`) and it renders finished — styled, with header, footer, and content. There is no "template with blanks" wrapping your page; **your page is the thing**, and when the platform serves it, it *overlays* the live site onto it — swapping in the master's live chrome, filling your marked elements with real text and data, and splicing in plugin/SEO markup at the edge. That inversion is exactly why your file previews offline and why you never need the platform to see your work. You author in plain **HTML / CSS / JavaScript** — no template language, no framework, no platform internals. **The whole contract is three rules:** 1. **Put a stable, meaningful `id` on anything that varies.** Titles, paragraphs, links, dates, prices, swapped images — anything filled with text or data at render. The `id` is the handshake that lets the platform bind live content to your element. Use ids that survive a restyle (`about-title`, `nav-about`), not auto-generated ones. When in doubt, add one — an unbound `id` is harmless. 2. **Keep the chrome seams and the content slot intact.** Every page carries the shared regions: the whole ``, `