Convert post views to haml