Avoid null pointer exception on blog views component
Avoid null pointer exception on blog views component

The blog views component could encounter a null pointer exception if it
got invoked with a post that did not exist or was not published. This
puts in a check to verify that the post is not null first.

vdomah/blogviews,vdomah/blogviews