move twig config to twig plugin