adds a link directive