-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
area: nested-collectionstype: bugcode to address defects in shipped codecode to address defects in shipped code
Description
Describe the bug
New document in a subfolder is creating an index.md instead of non-index markdown.
To Reproduce
- Go to a sub folder in Decap CMS
- Click on New document
- Enter, title, body and save
- It creates an index.md file and messing up the sub directory name.
Expected behavior
It should create a new markdown with a slug.md ( from title)
Screenshots
Applicable Versions:
- Decap CMS version: [e.g. 2.0.4]
- Git provider: [e.g. GitHub, BitBucket]
- OS: [e.g. Windows 7]
- Browser version [e.g. chrome 22, safari 11]
- Node.JS version: v20.15.1
- Decap CMS: 3.8.3
- Git provider: Azure
CMS configuration
collections:
- name: "docs"
label: "docs"
folder: docs-site
create: true
extension: 'md'
editor:
visualEditing: true
summary: "{{dirname}}/{{filename}}.{{extension}}"
fields:
- { label: "Title", name: "title", widget: "string", required: false }
- { label: "Body", name: "body", widget: "markdown", required: false }
- { label: "Tags", name: "tags", widget: "list", required: false }
nested:
depth: 10
subfolders: false
summary: '{{slug}}'
meta: { path: { label: 'Path', widget: string } }
Additional context
Metadata
Metadata
Assignees
Labels
area: nested-collectionstype: bugcode to address defects in shipped codecode to address defects in shipped code