Added layouts to posts plugin