level optional default (none - returns the last segment)The directory level to read, counting from the start of the path. 1 is the first segment after the language, 2 the second, and so on. With no argument (the default) the command returns the last segment, equivalent to the bare variable xseo. A non-digit argument is ignored and also returns the last segment.
{ifeq:{xseo}:home:You are on the home page:Some other page}
<a href="/en/about-us"{ifeq:{xseo:1}:about-us: class="active"}>About us</a>
Section: [{xseo}]
Fallback: [{xseo:all}]
First level: [{xseo:1}]
Third level: [{xseo:3}]