creating post layout