I am trying to set the lang html attribute dynamically in my template in a multilingual site.
I can get the language on a page using page.lang but I can’t find how to get it in the listing page, which does not match a section or a page (I am getting Reason: Variablepagenot found in context while rendering 'index.html').