Modified index.html with template