Added a template for index