Self link generation