Task #86573
closedPageTitleProvider should give possibility to remove site name
0%
Description
With the new Title Tag API it is not possible to provide a final page title. The site name is always wraped. It would be great, if there is a flag, where you can say if the title should be wraped or not.
Updated by Richard Haeser about 6 years ago
- Tracker changed from Bug to Task
- Status changed from New to Accepted
- Target version set to Candidate for patchlevel
We didn't change anything about this currently and that is done by purpose. But because we want people to avoid the config.noPageTitle option, this might be a valid task.
Updated by Gerrit Code Review about 6 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58592
Updated by Marc Hirdes about 6 years ago
Thanks for this fast patch. This can work. A better solution would be, that the provider can influence the wrap.
So that the provider not only gives back the title. Also it should be possible to say, this title is final.
If than the single provider gives no result, the fallbacks still have the site title. Can you follow me?
Updated by Gerrit Code Review about 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58592
Updated by Gerrit Code Review about 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58592
Updated by Richard Haeser about 6 years ago
- Status changed from Under Review to Closed
As discussed with Benni Mack: If you would like to remove the site title from the title tag, just don't add it to the TypoScript template.
I will close this issue.
Updated by Marc Hirdes over 5 years ago
Sorry for reopen this. But what you mentioned is not the point. Either I give a sitename or not, ok. But it would be great, to have the option, to disable the sitename for pages with a long site title. I think it is not a big deal or?