link: avoid // in link_contents

Signed-off-by: Christopher Larson <kergoth@gmail.com>