Page file
A Page file renders one route of a Site from Components with literal props; its folder path is the URL.
| Property | Value |
|---|---|
| Path | sites/ |
| Holds | Page |
| Kind | file |
| Leaders | db-first, git-first |
| Team | Marketing Team |
| Written by | Change.merge |
| Compiled by | SiteBuilder |
Example
sites/ in a Startup repository.
---
title: Pricing
---
Every month is reconciled, reviewed and tied out to the bank.
<PriceTable offers={["monthly-close"]} />
<Faq collection="faq/ pricing" />Props
The frontmatter keys the file takes. The body is its prose.
| Prop | Type | Required | Description |
|---|---|---|---|
title | string | required | The Page title. |
description | text | One sentence for search and link previews. | |
about | Collection | On a [key] Page, the Collection whose members it renders. |
Generates
SiteBuilder compiles it into these records, Verbs and routes.
| Kind | What |
|---|---|
| Records | Page |
| Verbs | None. |
| Routes | /{path}, /{path}.md |