only render link if link exists