X-Git-Url: https://juplo.de/gitweb/?p=website;a=blobdiff_plain;f=dist%2Ftemplates%2Flayout.html;h=00c1c73c62ce7e32c233346933f9011fda1ef570;hp=bdc30466dd51a64999c299710b348dc5feaade7b;hb=0470ad3a12c857a4740456ef5c31ba5fe4550a93;hpb=a2fc5bdbd626ce1f11d65499a1428f9b3ab73e71 diff --git a/dist/templates/layout.html b/dist/templates/layout.html index bdc30466..00c1c73c 100644 --- a/dist/templates/layout.html +++ b/dist/templates/layout.html @@ -44,7 +44,7 @@ th:each="entry : ${submenu}" th:with=" childs=${entry == parent ? null : _childs.get(entry)}, - leaf=${pos == (len - 1) and (childs == null or childs.size() == 0)}, + leaf=${pos >= (len - 1)}, child=${pos == len}, selected=${!child and crumbs.get(pos) == entry}, active=${entry == uri},