formatting for resource pages, with new resource views stuff in ckan 2.3