Move page #post helper to encapsulate image references

Ref #143
- Fixes header images for static pages
This would always return false, as the context wasn't the post.