simplified the structure of the posts templates