Implementation of twig template