Docs › Reference
Content model
The 25 content types ACES ships with, organized in three layers.
The content model follows Layered Content Modeling. Each content type belongs to one of three layers, and its name starts with that layer’s icon. Every type has a one-line description that tells editors what it’s for. aces sync and aces doctor warn when a name or a description is missing.
| Layer | Icon | Holds | Feeds |
|---|---|---|---|
| Content (global, semantic) | 🌐 | What something is: content with no presentation fields, reusable anywhere | Search, LLMs and data lakes, any component |
| Component | 🔷 | How content is shown: maps one-to-one to a cf-* component and holds layout and style options |
Page bodies, other components |
| Template (page type) | 📄 | A routable page: route, SEO and the body that composes components | The website and apps |
The rules
- Pick the layer by asking “what or how?” Fields that describe the content belong in 🌐: title, text, person, URL, date. Fields that only matter on screen belong in 🔷: alignment, theme, columns, hide on mobile. A route, a slug and SEO make a 📄.
- References point down the layers: 📄 → 🔷 → 🌐. A page body may place a 🌐 type directly when it renders as is (Image, Video).
- One semantic type, many presentations. A 🌐 Quote links to a 🌐 Person, the same type used for an article’s author. 🔷 Testimonials shows quotes as a carousel, a grid or a single feature.
- Page types own routing and SEO only: slug, title, Specialty Page,
seoand the body. Everything visual lives in components. - Names:
- names are
<icon> <Title Case Name> - ids are camelCase
- every 🔷 has an
internalTitledisplay field - every type has a description
- names are
What ships
🌐 Content
| Type | Description |
|---|---|
| Apps | Site settings for one app: logos, navigation, footer and social links. |
| Metadata | SEO and social sharing settings for a page or article. |
| Image | An image with alt text, reusable anywhere on the site. |
| Video | A video by URL (YouTube, Vimeo, or a direct file URL) or an uploaded file. |
| Person | A person: article author, speaker, team member… |
| Quote | Something a person said: a testimonial, a pull quote, press coverage. |
| Internal Link | Link to a page, article or PDF on this site. |
| External Link | Link to another site, an email address or a phone number. |
🔷 Components
| Type | Description |
|---|---|
| Hero | The large banner at the top of a page: headline, image and buttons. |
| Banner | A full-width band with a headline, text, media and buttons. |
| Lockup | A headline, text and buttons beside an image or video. |
| Grid | Components laid out in columns. |
| Header | A section heading placed between page body components. |
| Rich Text Section | A section of formatted text, with layout and background options. |
| Accordions / Accordion | A group of expandable sections (FAQ style), and one section in it. |
| Testimonials | Quotes shown as a carousel, grid or single feature. |
| Code Embed | HTML or a script embedded on the page (forms, widgets). |
| Modal | A pop-up dialog with components, opened by a button. |
| Button | A call-to-action button that opens a link or a modal. |
| Hyperlink | A text link to a page, article, PDF or another site. |
| Dropdown Menu | A navigation item that opens a list of links. |
📄 Page types
| Type | Description |
|---|---|
| Page | A web page: its URL, SEO and the components in its body. Routed at /[...slug]. |
| Article | A dated post with an author, featured image and body copy. Routed at /articles/[slug], with a filterable listing. |
| PDF Document | A PDF file with its own URL on the site. |
How editors use it
- Pages are one Page Body. Hero, Rich Text Section, Image and the other components are blocks that editors add and reorder.
- Links:
- Navigation links are Hyperlink entries.
- A link is an Internal Link (to a page, article or PDF, with an optional
#anchor) or an External Link (a URL,mailto:ortel:). - A Button points at either kind of link, or at a Modal.
- Articles are filtered by Contentful tags, and their author is a Person entry.
- The Apps entry holds the navigation, logo, socials and footer. The site finds it by
site.appId.
Adding to the model
Add types through the CLI so that code, config and model stay in step:
pnpm aces component add "Stat Strip" --description "A row of big numbers." # 🔷 + cf-stat-strip/
pnpm aces page add "Case Study" --body caseStudy --listing # 📄 + routes
pnpm aces models export # save the space's model locally
Then add your fields to the content type in Contentful (or in contentful/models.json, followed by aces models import), and to the component’s services.ts fragment.
Something wrong or missing? Open an issue.