Wordpress-URL's enden nicht mehr auf einen Slash ("/")
[website] / dist / templates / layout.html
index e769d05..cd050be 100644 (file)
@@ -6,7 +6,7 @@
     thymeproxy:variables="SET:sitemap.json"
     >
   <head>
-    <title th:text="${title}">juplo - BASISTEMPLATE</title>
+    <title th:replace="${title}">juplo - BASISTEMPLATE</title>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
     <!-- Default / Responsive -->
@@ -37,7 +37,7 @@
     <link rel="caononical" href="layout.html" th:replace="~{:: #canonical}?:~{}"/>
   </head>
   <body
-      th:fragment="body(uri)"
+      th:fragment="body(uri, maincontent, marginalcontent)"
       thymeproxy:variables="${json}"
       th:with="crumbs=${_crumbs.get(uri)}"
       id="top"
             <h2 class="nav menu">Section-Menu</h2>
             <ul id="menu" class="cf">
               <li class="m blog" th:each="entry : ${_sections}" th:class="'m ' + ${entry.key}">
-                <a href="../blog/" th:href="@{${entry.value}}" class="m" th:class="${entry.value == section} ? 'm selected' : 'm'" th:text="${_titles.get(entry.value)}">Blog</a>
+                <a href="../blog" th:href="@{${entry.value}}" class="m" th:class="${entry.value == section} ? 'm selected' : 'm'" th:text="${_titles.get(entry.value)}">Blog</a>
               </li>
               <!--/*-->
               <li class="m projects"><a href="../projects.html" class="m selected">Projects</a></li>