create post layout and convert all layouts to Slim