added Post.url() and used it in the template