Make num_links=0 in pagination library possible to configure