Issue Feature Closed

#87037Page Title API: Pass the title generated by the previous provider to the current

Josef Glatz 11/29/18, 11:17 updated 03/11/20, 21:54

Description

Description

Having a way to retrieve the title generated by the previous PageTitleProvider to the current PageTitleProvider or a similar functionality would increase the flexibility of the Page Title API drastically. In addition to that it can be an alternative to the already deprecated UserFunc config.titleTagFunction

Scenarios like the following can be realized with small effort

  • Processing the title string based on existing words makes enriching the title string with automatic easier
  • The API can be used to check the length and e.g. log or notify the marketeers about a possible too long page title
  • Rewriting/replacing words based on a actual page property for example. E.g. Removal of the prefixed/suffixed siteTitle

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.