smart index.html