Update links to be relative to the current page