Wordpress-URL's enden nicht mehr auf einen Slash ("/")
[website] / dist / templates / 404.html
index 61269c2..2735d0d 100644 (file)
@@ -1,7 +1,11 @@
 <!DOCTYPE html>
 <html
     xmlns="http://www.w3.org/1999/xhtml"
-    th:replace="~{templates/layout :: layout(uri='/templates/404.html', contentclass='nomenu')}"
+    th:replace="~{/templates/layout.html :: layout(
+      uri='/templates/404.html',
+      title=~{:: title},
+      maincontent=~{:: .maincontent},
+      marginalcontent=~{:: .marginalcontent}, contentclass='nomenu')}"
     >
   <head>
     <title id="title">404: Page Not Found!</title>
@@ -23,7 +27,7 @@
       <h1 class="nav">Navigation</h1>
       <h2 class="nav menu">Section-Menu</h2>
       <ul id="menu" class="cf">
-        <li class="m blog"><a href="../blog.html" th:href="@{/blog.html}" class="m">Blog</a></li>
+        <li class="m blog"><a href="../blog" th:href="@{/blog}" class="m">Blog</a></li>
         <li class="m projects"><a href="../projects" th:href="@{/projects.html}" class="m">Projects</a></li>
         <li class="m about"><a href="../about.html" th:href="@{/about.html}" class="m">About</a></li>
       </ul>