Convert layouts to HAML