-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
type: bugcode to address defects in shipped codecode to address defects in shipped code
Description
Describe the bug
A folder collection with path
specified as {{slug}}/index
also lists pages in folder
that are not in a subdirectory.
To Reproduce
- Clone repository: https://github.com/lbischof/issue-4884
- Start a webserver and local proxy server (see README.md)
- Visit localhost:8080/admin/
- See that "This should not appear" is also listed.
Expected behavior
I expect that if path
is specified with a /
, then all posts/pages that do not fulfill this requirement should be ignored and not listed.
Applicable Versions:
- Netlify CMS version: 2.10.84
CMS configuration
https://github.com/lbischof/issue-4884
Metadata
Metadata
Assignees
Labels
type: bugcode to address defects in shipped codecode to address defects in shipped code