Describe the bug
In the link below, navRootTitle is the title of the page, never the title of the site, but still it is used in this way:
|
const titlePart = navRootTitle || siteRootTitle; |
If I comment out like this: /* navRootTitle || */, it works well.
Without this comment, since the titlePart !== title condition:
|
if (includeSiteTitle && titlePart && titlePart !== title) { |
|
return seo_title || `${title} ${titleAndSiteTitleSeparator} ${titlePart}`; |
|
} else { |
|
return seo_title || title; |
|
} |
is not met, the tab title is made of the website title alone.
To Reproduce
Steps to reproduce the behavior:
- Create a Cookieplone project
- In the add-on install function, put
config.settings.siteTitleFormat.includeSiteTitle = true;
- See the wrong tab title in the browser's Volto tab.
Expected behavior
I expected that the tab title contains both the website title and the current page title.
Software (please complete the following information):
- OS: Windows (WSL)
- Browser: Edge
- Volto Version 19.1.4
- Plone Version 6.2.0
- Plone REST API Version: unknown
Describe the bug
In the link below,
navRootTitleis the title of the page, never the title of the site, but still it is used in this way:volto/packages/volto/src/components/theme/ContentMetadataTags/ContentMetadataTags.jsx
Line 70 in adfd531
If I comment out like this:
/* navRootTitle || */, it works well.Without this comment, since the
titlePart !== titlecondition:volto/packages/volto/src/components/theme/ContentMetadataTags/ContentMetadataTags.jsx
Lines 72 to 76 in adfd531
is not met, the tab title is made of the website title alone.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected that the tab title contains both the website title and the current page title.
Software (please complete the following information):