cardinal

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

PathPage
/loginSign in, with a forgot-password panel
/logoutEnds the session, then goes to /login
/update-passwordSets a new password from a reset link, or with the old one
/accept-inviteAccepts a User Invitation
/me, /profileThe signed-in user's name, Edit Profile, Reset Password, Desk and Logout
/update-profileEdit 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.

FieldExample
Home Pageabout-us, the route / shows
Title PrefixAcme, so pages read Acme - About us
App Name, App Logo, FavIconThe brand in the navbar and the tab
Show Language PickerA language menu on the sign-in pages
Top Bar ItemsNavbar links. Set Parent Label to put a link in another item's dropdown. Align Right moves it to the right
Footer Items, CopyrightThe footer
Route RedirectsSource ^/old-blog/(.*), Target /blog/\1, Redirect HTTP Status 301, 302, 307 or 308
Robots.txtThe text served at /robots.txt
<head> HTMLAdded 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.

FieldUse
Show TitlePrints the title above the content
CSSStyles for this page
JavascriptA script for this page. System Manager only
Dynamic TemplateA 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 → 404

The website serves only GET and HEAD and sends Cache-Control: no-cache, so every node shows a change at once.

On this page