layout-dialect ausgebaut: Thymeleaf 3.x erlaubt ähnliches mit Bordmitteln
[website] / dist / templates / error.html
index cd175ca..e749e6f 100644 (file)
@@ -1,12 +1,10 @@
 <!DOCTYPE html>
 <html
     xmlns="http://www.w3.org/1999/xhtml"
-    xmlns:layout="http://www.thymeleaf.org"
-    layout:decorator="templates/layout"
-    th:with="uri='/templates/error.html', contentclass='nomenu'"
+    th:replace="~{templates/layout :: layout(uri='/templates/error.html', contentclass='nomenu')}"
     >
   <head>
-    <title>An Unexpected Error Occured!</title>
+    <title id="title">An Unexpected Error Occured!</title>
     <!--/*-->
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <link rel="stylesheet" type="text/css" href="../css/base.css"/>
     <!--*/-->
   </head>
   <body>
-    <ol layout:fragment="breadcrumb">
+    <ol id="crumbs">
+      <li class="b"><a class="b" href="../index.html" th:href="@{/index.html}">Home</a></li>
       <li class="b"><strong class="b">An Unexpected Error Occured!</strong></li>
     </ol>
-    <nav layout:fragment="navigation">
+    <nav id="navigation">
       <hr class="n"/>
       <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
       <h1 class="nav">Navigation</h1>
@@ -29,7 +28,7 @@
         <li class="m about"><a href="../about.html" th:href="@{/about.html}" class="m">About</a></li>
       </ul>
     </nav>
-    <article class="main" layout:fragment="maincontent">
+    <article class="maincontent">
       <header><h1>An Unexpected Error Occured!</h1></header>
       <p>We do not know, what happend.</p>
       <p>But we can tell you: WE ARE SORRY!</p>