Kanonische Links über _canonical realisiert
[website] / dist / potemkin / html-experimente / phone.html
index 7992afc..e341625 100644 (file)
@@ -6,12 +6,16 @@
     <link rel="stylesheet" th:rel="stylesheet" type="text/css" href="../../css/base.css" th:href="@{/css/base.css}"/>
     <link rel="stylesheet" th:rel="stylesheet" type="text/css" href="../../css/phone.css" th:href="@{/css/phone.css}"/>
   </head>
-  <body th:replace="~{templates/layout :: body(uri='/potemkin/html-experimente/phone.html', json='MERGE:/potemkin.json')}">
+  <body th:replace="~{/templates/layout.html :: body(
+      uri='/potemkin/html-experimente/phone.html',
+      title=~{:: title},
+      maincontent=~{:: .maincontent},
+      marginalcontent=~{:: .marginalcontent}, json='MERGE:/potemkin.json')}">
     <main class="maincontent">
       <header><h1>Layout für Smartphones</h1></header>
-      <strong th:replace="templates/layout :: maincontent">MAIN-CONTENT</strong>
+      <strong th:replace="/templates/layout.html :: maincontent">MAIN-CONTENT</strong>
     </main>
-    <aside class="marginalcontent" th:replace="templates/fragments :: marginalcontent">
+    <aside class="marginalcontent" th:replace="/templates/fragments.html :: marginalcontent">
       MARGINAL-CONTENT
     </aside>
   </body>