Open Chathula opened 4 years ago
Thanks @Chathula for opening this.
@erezrokah we discussed this in the Netlify community as well.
what about giving an option to the user to set it. as an example, we can set
deletePath
option totrue
. when the user has setdelete
totrue
(by default it is true), we can delete that whole path.
https://community.netlify.com/t/delete-path-folder-when-delete-entry/12574/5
Hi, any updates on this issue?
Is there something new about this issue?
I have integrated Netlify CMS with Gatsby. it works well when creating a new entries. but when delete. it only deletes the
index.md
file. I need to delete the wholepath
folder. how can I do it?Here are my content paths and config file.
content path:
content/year-month-day-path/
When I create a new entry with image it creates two entries for
.md
file and for an image. but when I want to delete, it only removes thatindex.md
fille. need to delete the whole folder.