Fix BlogPost class
Fix blog samples.
Merge pull request #1375 from fmoloney/blogPostFix

Fix blog samples