Generate nav from folder structure