changing template.html in to index.html