projects
/
website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Variable "menu" in "sections" umbenannt und Section-Handling vereinfacht
[website]
/
dist
/
thymeleaf
/
templates
/
layout.html
diff --git
a/dist/thymeleaf/templates/layout.html
b/dist/thymeleaf/templates/layout.html
index
0fb2b01
..
2ff0255
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.key}">
+ <a href="../blog.html" th:href="@{
${entry.value.uri}}" class="m" th:class="${entry.value.uri == 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>