With the following content structure, what is the correct index file name to use for the folders non-fiction
and fiction
, a leaf bundle with index.md
or a page bundle with _index.md
?
content
|-- books
|-- non-fiction
|-- index.md or _index.md?
|-- fiction
|-- index.md or _index.md?
|-- _index.md
|-- book1.md
|-- book2.md
I use a custom template, books/filter.html
for non-fiction
and fiction
to show the list books that are fiction and non-fiction. Basically, a custom variation instead of using taxonomies.
As these pages show a list of items, should I be using _index.md
? No other resources except the index file name will be in each folder.
Or would it be more correct to change the structure and do the following:
content
|-- books
|-- non-fiction.md
|-- fiction.md
|-- _index.md
|-- book1.md
|-- book2.md