admin: restore nested mode (with subject _index.md titles so tree shows named folders)
This commit is contained in:
@@ -29,6 +29,11 @@ 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:
|
||||||
|
depth: 2
|
||||||
|
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