Main layout converted to haml