Einführung unterschiedlicher Untermenüs vorbereitet
[website] / dist / thymeleaf / templates / layout.html
index 2351163..af028fc 100644 (file)
               <a class="s selected" href="../projects.html" th:href="@{${section.uri}}" th:text="${section.name}">Projects</a>
             </h2>
             <ul layout:fragment="submenu"
-                th:with="parent=${(crumbs.size() == 2 and submenu.get(uri)['childs'] == null) ? crumbs[0].uri : null}, pos=1"
+                th:with="
+                  submenu=${menu[section.uri]},
+                  parent=${(crumbs.size() == 2 and submenu.get(uri)['childs'] == null) ? crumbs[0].uri : null},
+                  pos=1"
                 id="submenu"
                 class="s"
                 >