Modify the index view template.