This key represents an individual group entry in the collection_groups array.
The value defines a group of Collections displayed in the Site Navigation. Each group entry must contain a heading key and a collections key.
Appears in
└── collection_groups
└── [*]Type
Object
Properties
This key defines the Collections displayed in a group in the Site Navigation.
The value is an array of Collection key name strings, matching the keys defined in collections_config.
This key is required for each group entry in the collection_groups array.
Appears in: collection_groups[*].
Show examplesHide examples
In this example, we have configured two Collection groups with collections arrays.
collection_groups:
- heading: Content
collections:
- pages
- blog
- heading: Data Files
collections:
- data{
"collection_groups": [
{
"heading": "Content",
"collections": [
"pages",
"blog"
]
},
{
"heading": "Data Files",
"collections": [
"data"
]
}
]
}This key defines a short, descriptive label for a group of Collections displayed in the Site Navigation.
This key is required for each group entry in the collection_groups array.
Appears in: collection_groups[*].
Show examplesHide examples
In this example, we have configured two Collection groups with a heading that labels the group in the Site Navigation.
collection_groups:
- heading: Content
collections:
- pages
- blog
- heading: Data Files
collections:
- data{
"collection_groups": [
{
"heading": "Content",
"collections": [
"pages",
"blog"
]
},
{
"heading": "Data Files",
"collections": [
"data"
]
}
]
}Examples
In this example, we have configured two Collection groups with a heading and collections array.
collection_groups:
- heading: Content
collections:
- pages
- blog
- heading: Data Files
collections:
- data{
"collection_groups": [
{
"heading": "Content",
"collections": [
"pages",
"blog"
]
},
{
"heading": "Data Files",
"collections": [
"data"
]
}
]
}