fixed variable access

this fixed an issue for me where the blog page did not show up any blog entries
Merge pull request #200 from rknoll/patch-1

fixed variable access