updated nav mixin to allow for pages that don't have sub-nav links