So I'm trying to create one central file for my navigation which is used across my site; however, some of the pages are in different directories. So, for example , let's say I have the following directories --
domain.com/
domain.com/dir1/
domain.com/dir2/
If I wanted to use the same include between all three of these options, is there a way for it to figure out how many "../" need to be included based on where it is?