add inline link for the current index