Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Commit 7c3e790

Browse files
author
Manuel Proß
committed
refactor(cms): remove collection name from homepage because it is a single type
1 parent 6419f58 commit 7c3e790

File tree

1 file changed

+23
-28
lines changed

1 file changed

+23
-28
lines changed
Lines changed: 23 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,25 @@
11
{
2-
"kind": "singleType",
3-
"collectionName": "homes",
4-
"info": {
5-
"singularName": "home",
6-
"pluralName": "homes",
7-
"displayName": "home",
8-
"description": ""
9-
},
10-
"options": {
11-
"draftAndPublish": true
12-
},
13-
"pluginOptions": {},
14-
"attributes": {
15-
"Hero": {
16-
"type": "component",
17-
"repeatable": false,
18-
"component": "sections.hero-section",
19-
"required": true
20-
},
21-
"body": {
22-
"type": "dynamiczone",
23-
"components": [
24-
"sections.news-section",
25-
"general.button",
26-
"general.card"
27-
]
28-
}
29-
}
2+
"kind": "singleType",
3+
"info": {
4+
"singularName": "home",
5+
"pluralName": "homes",
6+
"displayName": "home",
7+
"description": ""
8+
},
9+
"options": {
10+
"draftAndPublish": true
11+
},
12+
"pluginOptions": {},
13+
"attributes": {
14+
"Hero": {
15+
"type": "component",
16+
"repeatable": false,
17+
"component": "sections.hero-section",
18+
"required": true
19+
},
20+
"body": {
21+
"type": "dynamiczone",
22+
"components": ["sections.news-section", "general.button", "general.card"]
23+
}
24+
}
3025
}

0 commit comments

Comments
 (0)