Add links for pagination