Created post layout and functionality