truncate post text on index page