add appRoot to links when nav is not defined