Add attributes to getLink