initial configs and twig extension in 1.12 way