split up pages and posts