In Litium.Web.MetaServiceImpl.cs in the accelerator in Litium 7.6.2, the robot meta tag for categories comes from the startpage. Is this a feature or a bug?
So if startpage has noindex/nofollow, all categories will be the same.
Some of the strange(?) decompiled code
bool flag = this._fieldTemplateService.Get<PageFieldTemplate>(page.FieldTemplateSystemId).IndexThePage && page.Fields.GetValue<bool>("_indexThePage");
if (category != null)
{
robotsSettings.DefaultFollow = page.Fields.GetValue<bool>("_followLinks");
robotsSettings.DefaultIndex = flag;
}
else
{
robotsSettings.DefaultFollow = page.Fields.GetValue<bool>("_followLinks");
robotsSettings.DefaultIndex = flag;
}
Litium version: 7.6.2
