Format pagination against Foundation conventions.