J!5.3.2. - current Firefox or MS Edge or Brave
In front-end the page of article list of a subcategory is not setted with the "meta name="robots" ..." if the “Robots” combo-box of the relative menu is selected to “Use globals”. With a value other than "Use globals" the "meta name="robots" ..." is correctly setted.
Steps to reproduce the issue
1 – In "Global configuration – Site - Metadata" set “Index, follow” in "Robots" combo-box
2 – Create a main Category (example “Fruits”) with one subcategory connected (example “Apples”)
3 – Create a Menu for the main category (example “Apples”) with type “Separator”
4 - Create a submenu type “Category list” connected to the subcategory (example “Apples”) and in the tab “Metadata” select “Use globals” in the combo-box “Robots”.
5 - Create one article connected with the subcatergory (example “Apples”).
6 - in the front-end go to the page with the list of articles of the subcategory (example menu “Fruits -> Apples”) and view the source code
Expected result
In the head section of the page is present the meta tag 'meta name="robots" content="index, follow"'
Actual result
In the head section of the page is NOT present the meta tag 'meta name="robots" content="index, follow"'
System information (as much as possible)
Additional comments
We never output
meta name="robots" content="index, follow"
as that is the default behaviour and is not needed
We only ever output
meta name
when it is set to something other than the default