>
<li th:fragment="submenu(submenu, parent, pos)"
th:each="entry : ${submenu}"
th:with="
child=${pos == crumbs.size()},
selected=${!child and crumbs.get(pos).uri == entry.key},
>
<li th:fragment="submenu(submenu, parent, pos)"
th:each="entry : ${submenu}"
th:with="
child=${pos == crumbs.size()},
selected=${!child and crumbs.get(pos).uri == entry.key},