Refactors static pages layout