thymeleaf/variables.json in thymeleaf/sitemap.json umbenannt
[website] / dist / thymeleaf / templates / layout.html
index 5c72c7a..4c49a0c 100644 (file)
@@ -3,7 +3,7 @@
     xmlns="http://www.w3.org/1999/xhtml"
     xmlns:th="http://www.thymeleaf.org"
     xmlns:layout="http://www.thymeleaf.org"
-    thymeproxy:variables="/thymeleaf/variables.json"
+    thymeproxy:variables="/thymeleaf/sitemap.json"
     >
   <head th:fragment="head" layout:fragment="head">
     <title layout:title-pattern="$DECORATOR_TITLE - $CONTENT_TITLE" th:text="'juplo'">juplo - BASISTEMPLATE</title>
                     >fix-swf</a>
                 <ul th:if="${selected and childs != null}"
                     class="s active"
-                    th:class="${selected} ? 's active' : 's'"
+                    th:class="${selected && pos == crumbs.size()-1} ? 's active' : 's'"
                     >
                   <li th:replace="templates/layout :: submenu(submenu=${childs}, parent=${entry.key}, pos=${pos + 1})"
                       class="s"