converting index.html to haml