Gallery generator for Phugo
For each directory in content it generates or updates the _index.md file with the list of all JPG files in the directory.
If _index.md already exists, it's metadata will be kept, the rest is overwritten.
If the metadata of the _index.md file contains manual: true, the directory is ignored.
The thumbnails must be named by the original name prefixed by _th_.