WIP:bulma:neu
[website] / dist / templates / layout.html
index a1227e3..791a43f 100644 (file)
             id="navigation"
             class="s mr-4"
             th:class="'mr-4 s' + (${len == 1 or (len == 2 and _childs.get(uri) == null)} ? ' selected' : '')">
+          <!--/*-->
+          <li class="s sub off"><a href="../blog/" class="s">Blog</a></li>
+          <!--*/-->
           <li th:fragment="submenu(submenu, parent, pos)"
               th:each="entry : ${submenu}"
               th:with="
                   child=${pos == len},
                   selected=${!child and crumbs.get(pos) == entry},
                   leaf=${pos >= (len - 1) and not selected},
-                  active=${entry == uri},
                   sibling=${pos + 1 == len and (_childs.get(uri) == null or uri == parent)},
                   childs=${entry == parent ? null : _childs.get(entry)}
                   "
               class="s sub"
               th:class="'s' + (${childs} ? ' sub' : '') + (${selected or sibling or child} ? '' : ' off')">
-            <a  href="../potemkin/fix-swf/overview.html"
+            <a  href="../projekte.html"
                 th:if="${entry != parent}"
                 th:href="@{${entry}}"
                 class="s selected"
-                th:class="(${selected} ? 's selected' : 's') + ' len_' + ${len} + ' pos_' + ${pos} + (${leaf}?' leaf':'') + (${active} ? ' active' : '')"
-                th:text="${_titles.get(entry)}">fix-swf</a>
+                th:class="(${selected} ? 's selected' : 's') + ' len_' + ${len} + ' pos_' + ${pos} + (${leaf}?' leaf':'')"
+                th:text="${_titles.get(entry)}">Projekte</a>
             <ul th:if="${selected and childs != null}"
-                class="s active"
-                th:class="'s' + (${selected &amp;&amp; pos == crumbs.size()-1} ? ' active' : '') + (${entry == uri or (len &gt; 1 and entry == crumbs.get(len-2) and _childs.get(uri) == null)} ? ' selected' : '')">
-              <li th:replace="this :: submenu(submenu=${childs}, parent=${entry}, pos=${pos + 1})"
-                  class="s">
-                <strong class="s">Overview</strong>
-              </li>
+                class="s"
+                th:class="'s' + (${entry == uri or (len &gt; 1 and entry == crumbs.get(len-2) and _childs.get(uri) == null)} ? ' selected' : '')">
               <!--/*-->
-              <li class="s"><a href="../potemkin/fix-swf/getting-started.html" class="s">Getting Started</a></li>
-              <li class="s"><a href="#" class="s">FAQ</a></li>
-              <li class="s"><a href="#" class="s">Documentation</a></li>
+              <li class="s sub">
+                <a class="s selected" href="../potemkin/fix-swf/overview.html">fix swf</a>
+                <ul class="s">
+                  <li class="s"><strong class="s selected">Overview</strong></li>
+                  <li class="s"><a class="s leaf" href="../potemkin/fix-swf/getting-started.html">Getting Started</a></li>
+                  <li class="s"><a class="s leaf" href="#">FAQ</a></li>
+                  <li class="s"><a class="s leaf" href="#">Documentation</a></li>
+                </ul>
+              </li>
+              <li class="s sub off"><a href="#" class="s">hibernate4-maven-plugin</a></li>
+              <li class="s off"><a href="#" class="s">jquery.openx</a></li>
+              <li class="s sub off"><a href="../potemkin/html-experimente.html" th:href="@{/potemkin/html-experimente.html}" class="s">HTML-Experimente</a></li>
+              <li class="s sub off"><a href="#" class="s">accelerator</a></li>
               <!--*/-->
+              <li th:replace="this :: submenu(submenu=${childs}, parent=${entry}, pos=${pos + 1})" class="s off"><a href="../potemkin/typo.html" th:href="@{/potemkin/typo.html}" class="s">Typography</a></li>
             </ul>
           </li>
           <!--/*-->
-          <li class="s sub off"><a href="#" class="s">hibernate4-maven-plugin</a></li>
-          <li class="s off"><a href="#" class="s">jquery.openx</a></li>
-          <li class="s sub off"><a href="../potemkin/html-experimente.html" th:href="@{/potemkin/html-experimente.html}" class="s">HTML-Experimente</a></li>
-          <li class="s sub off"><a href="#" class="s">accelerator</a></li>
-          <li class="s off"><a href="../potemkin/typo.html" th:href="@{/potemkin/typo.html}" class="s">Typography</a></li>
+          <li class="s sub off"><a href="../about.html" class="s">About</a></li>
           <!--*/-->
         </ul>
       </nav>