-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation Error When Using Only Relative Media Directories #3670
Comments
Hi @Undistraction, the global |
@erezrokah Thanks for the explanation. That's a nice feature (being able to organise images within a central media directory). I know that relative media directories are only a beta feature but would be great to add something to the docs highlighting that a global for is still required in the config even of you aren't using it. |
Good point @Undistraction, we've recently added the media folder templating and field based media folders. It is not even documented yet since we want to gradually gain confident with the current approach and get more use cases. |
Opened https://github.com/netlify/netlify-cms/issues/3671, please share your thoughts there and let me know if I missed something. |
Describe the bug
The beta docs here outline how collection-specific
media_folder
keys can allow you to use relative paths. This effectively removes the need for a globalmedia_folder
key. However it appears this is still being validated as a required key.I think there might be some kind of conflict between local and global dirs causing the bug I have outlined in #3654 which is why I removed the global dir.
To Reproduce
Expected behavior
No validation error.
Screenshots
Applicable Versions:
The text was updated successfully, but these errors were encountered: