post: remove template code