Search.../

title

Sets or gets the page title.

Type:

stringRead & Write

Was this helpful?

Get the title of the sitemap entry

Copy Code
1export function myRouter_SiteMap(sitemapRequest) {
2
3 let title = entry.title; // "Page Title"
4
5}
Set the title of the sitemap entry

Copy Code
1export function myRouter_SiteMap(sitemapRequest) {
2
3 entry.title = "Page Title";
4
5}