Skip to content

Brand Template

A Brand Template is a Template styled by the Studio's Brand and shared by every Startup, filled from each Startup's own records.

PropertyValue
Pathbrand/templates/[template].mdx
HoldsTemplate
Kindfile
Leadersdb-first, git-first
TeamMarketing Team
Written byChange.merge
Compiled bySiteBuilder

Example

brand/templates/month-closed.mdx in a Startup repository.

brand/templates/month-closed.mdx
---
kind: message
subject: Your books for {close.period} are closed
---
Hi {close.client.firstName},

Your books for {close.period} are reconciled, reviewed and tied out to the bank.
Reply to this email with any question about an entry.

Props

The frontmatter keys the file takes. The body is its prose.

PropTypeRequiredDescription
kindstringrequiredWhat it renders: message, document or page.
subjectstringFor a Message, its subject line, with {variables} read from records.

Generates

SiteBuilder compiles it into these records, Verbs and routes.

KindWhat
RecordsTemplate, Message, Document
VerbsNone.
RoutesNone.