Refactor trailer template/post.