Skip to content

Content file

A Content file is one piece of Content in a Collection, such as a blog post, which a Site renders through a Page about it.

PropertyValue
Pathcontent/[collection]/[slug].mdx
HoldsContent
Kindfile
Leadersdb-first, git-first
TeamMarketing Team
Written byContent.publish, Change.merge
Compiled bySiteBuilder

Example

content/blog/first-month.mdx in a Startup repository.

content/blog/first-month.mdx
---
title: Our first month of books
author: marketing/writer
status: published
published: 2026-10-01
---
Twelve agencies, every month tied out to the bank within three business days.

Props

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

PropTypeRequiredDescription
titlestringrequiredThe headline.
authorstringA Role or a person.
statusstringdraft or published.
publisheddateWhen it was published.

Generates

SiteBuilder compiles it into these records, Verbs and routes.

KindWhat
RecordsContent
VerbsContent.publish
RoutesNone.