<li th:fragment="submenu(submenu, parent, pos)"
th:each="entry : ${submenu}"
th:with="
- leaf=${pos gt len - 1},
+ leaf=${pos >= len - 1},
selected=${!leaf and crumbs.get(pos) == entry},
active=${entry == uri},
sibling=${pos + 1 == len and (_childs.get(uri) == null or uri == parent)},