layout-dialect ausgebaut: Thymeleaf 3.x erlaubt ähnliches mit Bordmitteln
[website] / dist / expertise.html
index 36db866..b7724bc 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='/expertise.html'"
+    th:replace="~{templates/layout :: layout(uri='/expertise.html')}"
     >
   <head>
-    <title>Expertise</title>
+    <title id="title">Expertise</title>
     <!--/*-->
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <link rel="stylesheet" type="text/css" href="css/base.css"/>
@@ -15,6 +13,8 @@
     <!--*/-->
   </head>
   <body>
-    <div layout:fragment="maincontent" layout:replace="templates/fragments :: wip ('Expertise')"></div>
+    <main class="maincontent">
+      <div th:replace="templates/fragments :: wip ('Expertise')"></div>
+    </main>
   </body>
 </html>