Formatting page links correctly.