Website
The public site every tenant serves, with its own pages, navbar and redirects.
Every path outside /desk and /api belongs to the site's website. It serves the sign-in pages, Web Pages, Web Forms and pages that apps ship. A System Manager or Website Manager runs it from the Website workspace.
Built-in pages
| Path | Page |
|---|---|
/login | Sign in, with a forgot-password panel |
/logout | Ends the session, then goes to /login |
/update-password | Sets a new password from a reset link, or with the old one |
/accept-invite | Accepts a User Invitation |
/me, /profile | The signed-in user's name, Edit Profile, Reset Password, Desk and Logout |
/update-profile | Edit your own profile |
These pages always use the same layout. Website Settings and apps cannot add scripts to them.
Website Settings
/desk/website-settings holds the site-wide parts.
| Field | Example |
|---|---|
| Home Page | about-us, the route / shows |
| Title Prefix | Acme, so pages read Acme - About us |
| App Name, App Logo, FavIcon | The brand in the navbar and the tab |
| Show Language Picker | A language menu on the sign-in pages |
| Top Bar Items | Navbar links. Set Parent Label to put a link in another item's dropdown. Align Right moves it to the right |
| Footer Items, Copyright | The footer |
| Route Redirects | Source ^/old-blog/(.*), Target /blog/\1, Redirect HTTP Status 301, 302, 307 or 308 |
| Robots.txt | The text served at /robots.txt |
<head> HTML | Added to every page's head. Only a System Manager can change it |
Web Pages
A Web Page is a page at its own route, such as /about-us.
Open /desk/web-page/new. Enter Title About us. Leave Route empty to use the title's slug, about-us.
Pick a Content Type and write Main Section. Rich Text and Markdown are open to a Website Manager. HTML is open only to a System Manager.
Fill Meta Title, Meta Description and Meta Image for search engines and link previews.
Tick Published and save. Guests can now open /about-us.
| Field | Use |
|---|---|
| Show Title | Prints the title above the content |
| CSS | Styles for this page |
| Javascript | A script for this page. System Manager only |
| Dynamic Template | A Jinja template that may read other Records. It makes the page System Manager only |
Records as web pages
An app RecType can publish its Records as pages with has_web_view, a route and an is_published_field. With allow_guest_to_view, guests see published ones. The page shows the Record's fields laid out like its standard print, unless the app ships its own template.
UTM sources
UTM Source, UTM Medium and UTM Campaign are lists of campaign tags, each with an optional slug. Apps link to them to record where a lead or order came from.
How a path is resolved
reserved pages → redirects → home page → app route rules → Web Forms
→ Web Pages and web-view Records → app www pages → 404The website serves only GET and HEAD and sends Cache-Control: no-cache, so every node shows a change at once.