convert index.html to haml