updating menu generation code to correctly consider index files in same level of hierarchy the "parent page" for the first level (i.e. landing pages) in the dir hierarchy and the index files in the parent dir as the "parent page" for all dir hierarchy levels beyond the first - closes #121