ensure all links are relative to the base URL