Layouts HAML conversion