support for routes and generated urls in navigation templates