adds linkTo for posts index