Adjust URLs to be root-relative in pages.