Expand description
§{:lang; … :}
Returns the current language defined in the schema. The value is taken from inherit.locale.current.
Example:
Schema
{
"inherit": {
"locale": {
"current": "en"
}
}
}Template
<html lang="{:lang;:}">
...
</html>Result
<html lang="en">
...
</html>§Modifiers:
{:^lang; :}§Modifier: ^ (upline)
Eliminates previous whitespaces.