Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Avoid creating empty txt files for images #568

Open
hdodov opened this issue Jun 26, 2020 · 0 comments
Open

Avoid creating empty txt files for images #568

hdodov opened this issue Jun 26, 2020 · 0 comments

Comments

@hdodov
Copy link

hdodov commented Jun 26, 2020

Problem

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.

Solution

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant