Fill in index.html with template