Post content shortening for displaying in home page