Kanonische Links über _canonical realisiert
[website] / dist / potemkin / html-experimente / kein-layout.html
index bd81938..0807454 100644 (file)
@@ -1,17 +1,19 @@
 <!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="title='Alle Stylings deaktiviert', uri='/potemkin/html-experimente/kein-layout.html'"
-    >
-  <head layout:fragment="head">
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
     <title>HTML-Experimente - Kein Layout</title>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" th:remove="all"/>
   </head>
-  <body>
-    <aside layout:fragment="marginalcontent" th:replace="templates/fragments :: marginalcontent">
+  <body th:replace="~{/templates/layout.html :: body(
+      uri='/potemkin/html-experimente/kein-layout.html',
+      title=~{:: title},
+      maincontent=~{:: .maincontent},
+      marginalcontent=~{:: .marginalcontent}, json='MERGE:/potemkin.json')}">
+    <main class="maincontent">
+      <header><h1>Alle Stylings deaktiviert</h1></header>
+      <strong th:replace="/templates/layout.html :: maincontent">MAIN-CONTENT</strong>
+    </main>
+    <aside class="marginalcontent" th:replace="/templates/fragments.html :: marginalcontent">
       MARGINAL-CONTENT
     </aside>
   </body>