Generate the index.html file.