added link.html functionality