Converting index to twig.