added template context processor and new post view