Refactor static_pages_spec and full_title helper