add layout type in post