replace the post layout