replace page title logic with DocumentTitle component