Refactoring static-pages-title