update post layout and page layout.