Adjust in the library Pagination and index.php