Minor code corrections

Rectified some minor issues in renderNextPrevPosts() and postAuthor()
methods.