If link URL is only a hash, only display the text