Changed link to only display if the url is not empty