Add a twig extension for url generation