Adds page numbers to data attribute for each link