My post are organized into grouping categories then more target categories. I am trying to figure out a way to generate directory indexes for each category. If the category is a parent category, I want it to list it's children, else display a list of the articles.
/articles/index.html <- Standard article listing page.
/articles/tutorials/index.html <- List subcategories `Tutorials` and `Conventions`.
/articles/tutorials/php/index.html <- List all article of categories `["tutorials", "php"]`.
/articles/tutorials/php/article-title/index.php <- The article
My post are organized into grouping categories then more target categories. I am trying to figure out a way to generate directory indexes for each category. If the category is a parent category, I want it to list it's children, else display a list of the articles.