I have a small problem with a feature that has stopped working in the most modern versions of hugo.
Within the content I have files that I want to ignore. All these files that I want to ignore are in folders called “ignored” in different bundles of the content folder. Until version 0.55.6 it worked with putting ignoreFiles: “ignored” in the configuration file.
In versions higher than 0.55.6 this no longer works. I don’t know if there is any way to do something similar again.
It is very useful, for example, to save all the images that I do not use and I do not want to render but I want to save for the future, in the same bundle.
I just tested your structure and your names on my system and the ignored directory was ignored. Here are some questions that might help us figure out what’s going on:
What exactly do you have in your config file related to ignoreFiles?
When you run hugo config |more, what is displayed that is related to ignoreFiles?
What is displayed when you run hugo version?
When you say “this no longer works”, what do you mean? Do you mean that the ignored directories are being output to the destination directory when you build your site with hugo?
What flags do you use when you build with hugo, e.g., hugo --minify etc?
Do you reference these ignored files in any of your layouts or shortcodes. If so, it’s possible that in hugo referencing a file takes precedent over ignoring a file.