refactor PageLinks