Convert layout to haml.