Changed index name to template.html