WIP:bulma:neu
authorKai Moritz <kai@juplo.de>
Thu, 25 Feb 2021 16:13:21 +0000 (17:13 +0100)
committerKai Moritz <kai@juplo.de>
Thu, 25 Feb 2021 16:13:21 +0000 (17:13 +0100)
dist/templates/layout.html

index bdc3046..00c1c73 100644 (file)
@@ -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},