Template of the Table of contents converted to Twig.