separate out the routes from the app, have each route provide the page title