So… I ran into this problem with subdirs…
I have everything running on Git with no errors but on Localhost for some reason some of secondary subfolders were not showing their index pages just their own pages…
eg -
_pages/eating-out/index.html
_pages/eating-out/restaurants/chinese.html
_pages/eating-out/restaurants/indian.html
_pages/eating-out/restaurants/mexican.html
_pages/eating-out/pub-grub/first-pub.html
_pages/eating-out/pub-grub/second-pub.html
_pages/eating-out/pub-grub/third-pub.html
All displayed correctly.
But
_pages/eating-out/restaurants/index.html
_pages/eating-out/pub-grub/index.html
where I have the categories loop included…
Would not show on localhost… yet fine on GitHub…
After scratching my head for hours and no luck with google… I tried all sorts a stuff and then had a random stab at adding /index to my permalink… and well hey presto!
If that’s of some use to you then kool… If not “Move along - nothing to see here…”
Sparky.