Convert application layout to HAML.