Rewrite index.html, fix #1