projects
/
website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Einführung unterschiedlicher Untermenüs vorbereitet
[website]
/
dist
/
thymeleaf
/
templates
/
layout.html
diff --git
a/dist/thymeleaf/templates/layout.html
b/dist/thymeleaf/templates/layout.html
index
0fb2b01
..
af028fc
100644
(file)
--- a/
dist/thymeleaf/templates/layout.html
+++ b/
dist/thymeleaf/templates/layout.html
@@
-111,8
+111,8
@@
<h1 class="nav">Navigation</h1>
<h2 class="nav menu">Section-Menu</h2>
<ul id="menu" class="cf">
<h1 class="nav">Navigation</h1>
<h2 class="nav menu">Section-Menu</h2>
<ul id="menu" class="cf">
- <li class="m blog" th:each="entry : ${
menu}" th:class="'m ' + ${entry
.key}">
- <a href="../blog.html" th:href="@{
/__${entry.key}__.html}" class="m" th:class="${('/' + entry.key + '.html') == section.uri} ? 'm selected' : 'm'" th:text="${entry.valu
e}">Blog</a>
+ <li class="m blog" th:each="entry : ${
sections}" th:class="'m ' + ${entry.value
.key}">
+ <a href="../blog.html" th:href="@{
${entry.key}}" class="m" th:class="${entry.key == section.uri} ? 'm selected' : 'm'" th:text="${entry.value.nam
e}">Blog</a>
</li>
<!--/*-->
<li class="m projects"><a href="../projects" class="m selected">Projects</a></li>
</li>
<!--/*-->
<li class="m projects"><a href="../projects" class="m selected">Projects</a></li>
@@
-124,7
+124,10
@@
<a class="s selected" href="../projects.html" th:href="@{${section.uri}}" th:text="${section.name}">Projects</a>
</h2>
<ul layout:fragment="submenu"
<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"
>
id="submenu"
class="s"
>