make char limit for posts index