updated posts.html directives