convert html template to haml