rendering posts on view page
added post updating, code highlighting