index.html updated to template