added categories code to post.html