Pages Content Type
The Pages content type represents unique top-level pages and defines the structure and order of the site’s navigation menu.
Content Type Schema
Section titled “Content Type Schema”| Key | Type | Requirement | Description |
|---|---|---|---|
title | String | Required | The display name for the page in the navigation menu and browser tab. |
order | Number | Optional | Determines the sequential position in the menu for entries at that level. Lower numbers appear first. |
type | Select | Optional | blog, events, or sermons. Each value must only be selected once across all pages. |
body | Markdown | Optional | The main content of the page. Ignored if a type is set or if the page represents a folder. |
Navigation Menu
Section titled “Navigation Menu”The navigation menu is generated automatically based on the entries in the Pages collection. The system supports a hierarchy up to one level deep (Parent > Child). See Setting up Navigation for more info.
Files Location
Section titled “Files Location”Directorysrc
Directorycontent
Directorypages
- about-us.md <— Parent Page (defines the menu link)
Directory
About Us/<— Parent Folder- our-story.md <— Child Page
- leadership.md <— Child Page
Configuration Examples
Section titled “Configuration Examples”Folder Parent Page
Section titled “Folder Parent Page”This file acts as the placeholder for the “About Us” menu item.
---title: About Usorder: 1---Nested Child Page
Section titled “Nested Child Page”This page would be located inside the “About Us” folder.
---title: Leadershiporder: 2---
# Leadership> Pay careful attention to yourselves and to all the flock...”Type” Page
Section titled “”Type” Page”This page automatically pulls in all entries from the “Blog” collection.
---title: Writingsorder: 4type: blog---