Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

Commit 5c7b957

Browse files
authored
Update chapter config (#170)
1 parent 130f5af commit 5c7b957

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

static/admin/config.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,26 @@ show_preview_links: false
1515
collections:
1616
- name: 'chapters'
1717
label: 'Chapters'
18+
identifier_field: name
19+
label_singular: 'Chapter'
1820
folder: 'content/chapters'
21+
extension: 'json'
22+
create: true
23+
description: 'Add or edit chapters here. Information here is used to generate the chapter pages.'
1924
delete: false
2025
fields:
2126
- label: 'City'
2227
name: 'city'
2328
widget: 'string'
2429
required: true
30+
- label: 'Headline'
31+
name: 'headline'
32+
widget: 'string'
33+
required: false
34+
- label: 'Notification'
35+
name: 'notification'
36+
widget: 'string'
37+
required: false
2538

2639
- name: 'pages'
2740
label: 'Pages'

0 commit comments

Comments
 (0)