Sending latestPost object to template