simple page generation, starting to distinguish between posts and pages