changeTitle
Setting the title of the page the user is working on is important for accessibility purposes. People using assistive technology need to know what they are maintaining. By setting the page title, people who work with multiple tabs will also find the page they were working on.
To use the directive call:
When the user navigates through the site there is some logic which sets the default page title this is based on:
The current section the user is in
The deployment environment
![](https://docs.umbraco.com/~gitbook/image?url=https%3A%2F%2F65787334-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F8h0xdoteqcFVV1pGZgk0%252Fuploads%252Fgit-blob-7931e5f2f51d0cb6bc6134181b87c13445b5d534%252Fdefaultview.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=f17f39b5&sv=1)
The original title of the page is based on the section being edited and the host name.
![](https://docs.umbraco.com/~gitbook/image?url=https%3A%2F%2F65787334-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F8h0xdoteqcFVV1pGZgk0%252Fuploads%252Fgit-blob-e3efa8023970ff32ca48bad521283b6913ae3956%252Feditblog.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=b59be2cd&sv=1)
The title to use will then be prefixed to the original title of the page.
To remove the title displayed and revert to the default title, pass in an empty string.
Last updated