Implemented generate index.html content