Add configurable project name to the browser title #20490
Replies: 1 comment
-
|
Hi @skttl, it makes sense that you like to add this. I think both ideas are good, so feel free to provide a PR for this. But that could be changed to add the use a a static property in the end, so we keep the Umbraco name seperated from the custom addition? And the custom addition could then be undefined as its initial value, if defined then its gets the The static property should be public and thereby it can be edited from other code. import { UmbViewController } from '...' UmbViewController.BrowserTitlePostFix = '24days.in (DEV)' Let me know what you think of that :-) would love to see a PR on this |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Just saw this new feature #20145 and I love it.
I think it could be even better if you could configure a project name to be included in the title, so you could have
Content | Umbraco | skrift.ioor evenContent | Umbraco | 24days.in (DEV).I would prefer it as an appsetting, like Umbraco:CMS:ProjectName, and have it optional. So if it's filled, it's used in the title. If not, the title is just eg.
Content | Umbraco.By having it as an appsetting, you could easily switch the ProjectName by environment, eg.
24days.in (DEV)in development, and24days.inin production.You could also make favicon color an appsetting, so make the Umbraco logo use another color in different environments.
Beta Was this translation helpful? Give feedback.
All reactions