Truncating posts in main page