Sorry, we don't support your browser.  Install a modern browser

Avoid creating empty TXT files#217

In our website, we have a bunch of empty .txt files for image metadata in our repo. Given that Kirby works perfectly without them - what’s the point of having them? In a multi-language setup, they could really add up.

Kirby could hold off creating .txt files until there’s a file blueprint set up and the user saves some data for that file in the panel. These files are used to store sorting information as well, but still - Kirby could create the file only after the user sorts it. In our site, it’s pretty common to have a page with just a single file or a few files that need to be sorted alphabetically and therefore have disabled sorting. In our project, these .txt files are nothing more than clutter.

3 years ago
1