Kanonische Links über _canonical realisiert
[website] / dist / potemkin / html-experimente / basis-layout.html
index 0e07e93..7a6f1e7 100644 (file)
@@ -1,19 +1,20 @@
 <!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='Nur das Basis-Layout', uri='/potemkin/html-experimente/basis-layout.html'"
-    >
-  <head layout:fragment="head">
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
     <title>HTML-Experimente - Basis-Layout</title>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" th:remove="all"/>
-    <link rel="stylesheet/less" th:rel="stylesheet" type="text/css" href="../../less/base.less" th:href="@{/css/base.min.css}"/>
-    <script src="../../js/less-1.7.0.min.js" th:remove="all"></script>
+    <link rel="stylesheet" th:rel="stylesheet" type="text/css" href="../../css/base.css" th:href="@{/css/base.min.css}"/>
   </head>
-  <body>
-    <aside layout:fragment="marginalcontent" th:replace="templates/fragments :: marginalcontent">
+  <body th:replace="~{/templates/layout.html :: body(
+      uri='/potemkin/html-experimente/basis-layout.html',
+      title=~{:: title},
+      maincontent=~{:: .maincontent},
+      marginalcontent=~{:: .marginalcontent}, json='MERGE:/potemkin.json')}">
+    <main class="maincontent">
+      <header><h1>Nur das Basis-Layout</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>