link index and posts