Refactoring static pages