Convert layout to SLIM