layout-dialect ausgebaut: Thymeleaf 3.x erlaubt ähnliches mit Bordmitteln
[website] / dist / potemkin / fix-swf / getting-started.html
index 7d90bfc..77278b5 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="title='Fix SWF - Getting Started', uri='/potemkin/fix-swf/getting-started.html'"
+    th:replace="~{templates/layout :: layout(uri='/potemkin/fix-swf/getting-started.html', json='MERGE:/potemkin.json')}"
     >
   <head>
-    <title>Fix SWF - Getting Started</title>
+    <title id="title">Fix SWF - Getting Started</title>
     <!--/*-->
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <link rel="stylesheet" type="text/css" href="../../css/base.css"/>
@@ -14,7 +12,9 @@
     <link rel="stylesheet" type="text/css" href="../../css/print.css" media="print"/>
     <!--*/-->
   </head>
-  <body thymeproxy:variables="MERGE:potemkin.json">
-    <h1>Getting Started - DUMMY</h1>
+  <body>
+    <main class="maincontent">
+      <h1>Getting Started - DUMMY</h1>
+    </main>
   </body>
 </html>