Updated recent posts section to check if post titles need to be title cased.

I noticed that the post titles were different from the titles in the recent posts section. Fixed this so that post titles are consistent by using the same logic in the recent posts section as the post title.