defining post layout