make getLink optionally return full urls