moved NewPostPageSpec to own file