Files
rustycms/types/page.json5

49 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
// Page with layout, SEO and optional top fullwidth banner (extends content_layout + seo)
name: "page",
description: "Page with 3-row content layout, SEO and optional top banner",
tags: [
"content",
"layout"
],
category: "content",
extends: [
"content_layout",
"seo"
],
fields: {
slug: {
type: "string",
required: true,
unique: true,
description: "URL slug"
},
name: {
type: "string",
required: true,
description: "Internal page name"
},
linkName: {
type: "string",
required: true,
description: "Display name in navigation"
},
icon: {
type: "string",
description: "Icon identifier (optional)"
},
headline: {
type: "string",
required: true
},
subheadline: {
type: "string"
},
topFullwidthBanner: {
type: "reference",
collection: "fullwidth_banner",
description: "Hero banner at the top"
},
// row1/row2/row3 (JustifyContent, AlignItems, Content) come from extends: content_layout single source of truth
}
}