admin: match official Decap demo nested config — subfolders:false, depth:100, index_file:index
This commit is contained in:
@@ -29,11 +29,9 @@ collections:
|
|||||||
folder: subjects
|
folder: subjects
|
||||||
create: true
|
create: true
|
||||||
slug: "{{slug}}"
|
slug: "{{slug}}"
|
||||||
# nested mode: shows subjects/<subject>/<slug>/ tree (Decap-native for subfolders)
|
# nested mode — matches Decap's official demo (subfolders:false + index_file)
|
||||||
nested:
|
nested: { depth: 100, subfolders: false }
|
||||||
depth: 2
|
meta: { path: { widget: string, label: 'Path', index_file: 'index' } }
|
||||||
meta:
|
|
||||||
path: { widget: string, label: Path, index_file: _index, editable_folder: false, searchable: false }
|
|
||||||
sortable_fields: [date, title]
|
sortable_fields: [date, title]
|
||||||
fields:
|
fields:
|
||||||
- { name: title, label: Title, widget: string }
|
- { name: title, label: Title, widget: string }
|
||||||
|
|||||||
Reference in New Issue
Block a user