Updated index.html with template