converted static_pages formatting to haml