Twig extension to route to internal paths