Making sure links are not shown if there is only 1 page