Convert layouts and templates to haml