- 
                Notifications
    
You must be signed in to change notification settings  - Fork 99
 
Description
The documentation for _index files doesn't make it clear how to set it up when using multiple locales. I discovered myself that Sveltia CMS automatically detects the locale part of file name, e.g, in _index.pt.md, the .pt part.
I've just started to migrate my collections' index files, from pages in a file collection to index items in collections' list. Initially I tried to set it like the file field in file collections (doesn't work), like this:
...
index_file:
  name: _index.{{locale}}.md   # also tried without the .md part
...Then I tried _index.pt.md, _index.pt, without success. And finally when I just left it as _index it worked.
This could be in the documentation. It would ease the setup in multilingual sites.
Suggestion: it would be nice to be able to customize the title of the index file, or the term "Index File [home icon]", but it's ok to postpone this to after 1.0.