refactor title from static pages