layout-dialect ausgebaut: Thymeleaf 3.x erlaubt ähnliches mit Bordmitteln
[website] / dist / potemkin / html-experimente / fast-leer-mit-menü-und-marginalinhalt.html
index 7a68024..d8b950e 100644 (file)
@@ -1,13 +1,10 @@
 <!DOCTYPE html>
 <html
     xmlns="http://www.w3.org/1999/xhtml"
-    xmlns:layout="http://www.thymeleaf.org"
-    xmlns:th="http://www.thymeleaf.org"
-    layout:decorator="templates/layout"
-    th:with=", uri='/potemkin/html-experimente/fast-leer-mit-menü-und-marginalinhalt.html'"
+    th:replace="~{templates/layout :: layout(uri='/potemkin/html-experimente/fast-leer-mit-menü-und-marginalinhalt.html', json='MERGE:/potemkin.json')}"
     >
   <head>
-    <title>HTML-Experimente - Fast leere Seite mit Menü und Marginalinhalt</title>
+    <title id="title">HTML-Experimente - Fast leere Seite mit Menü und Marginalinhalt</title>
     <!--/*-->
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <link rel="stylesheet" type="text/css" href="../../css/base.css"/>
     <link rel="stylesheet" type="text/css" href="../../css/print.css" media="print"/>
     <!--*/-->
   </head>
-  <body thymeproxy:variables="MERGE:potemkin.json">
-    <article class="main" layout:fragment="maincontent">
+  <body>
+    <article class="maincontent">
       <header><h1>Fast leere Seite mit Menü und Marginalinhalt</h1></header>
       <p>Ein ganz bischen Text...</p>
     </article>
-    <aside layout:fragment="marginalcontent" th:replace="templates/fragments :: marginalcontent">
+    <aside class="marginalcontent" th:replace="templates/fragments :: marginalcontent">
       MARGINAL-CONTENT
     </aside>
   </body>