modified links to use relative-to-page path