Optimized *::display() but still needs to be applied to all index.twig
Move display() to IndexAbstract with the help of closures.