switch main layout to haml