truncate details body text on index page