Sort out generation of static pages