Migrate pages into posts