adds twig extension