removed the dependency to add post.html to every template that will have a post, moved functionality to the post obj