-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
Hi, it would be nice if there was a global suffix support.
This is how I imagine it could work API-wise:
Root level, producing MyApp.
<DocumentTitle title="null" suffix="MyApp" separator=" | ">
...
</DocumentTitle>
Inside a specific page, producing Index | MyApp.
<DocumentTitle title="null" suffix="MyApp" separator=" | ">
<DocumentTitle title="Index">...<DocumentTitle>
</DocumentTitle>
There could be also custom format function for those who need more power:
<DocumentTitle title="null" format={(value) => value ? value+' | MyApp' : 'MyApp'}>
...
</DocumentTitle>
justisb, MartinDawson, Paul-DS, lucasmotta, yordis and 5 more
Metadata
Metadata
Assignees
Labels
No labels