Convert layout.erb to Haml