Adding formatting to the events and posts on the front-page