give html link if pdf doesn't exist