layout-dialect ausgebaut: Thymeleaf 3.x erlaubt ähnliches mit Bordmitteln
[website] / dist / potemkin / html-experimente / fast-leer-kein-menü.html
index 664e086..05907e2 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="contentclass='nomenu', uri='/potemkin/html-experimente/fast-leer-kein-menü.html'"
+    th:replace="~{templates/layout :: layout(uri='/potemkin/html-experimente/fast-leer-kein-menü.html', contentclass='nomenu', json='MERGE:/potemkin.json')}"
     >
   <head>
-    <title>HTML-Experimente - Fast leere Seite ohne Menü</title>
+    <title id="title">HTML-Experimente - Fast leere Seite ohne Menü</title>
     <!--/*-->
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <link rel="stylesheet" type="text/css" href="../../css/base.css"/>
@@ -15,8 +12,8 @@
     <link rel="stylesheet" type="text/css" href="../../css/print.css" media="print"/>
     <!--*/-->
   </head>
-  <body thymeproxy:variables="MERGE:potemkin.json">
-    <nav layout:fragment="navigation">
+  <body>
+    <nav id="navigation">
       <hr class="n"/>
       <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
       <h1 class="nav">Navigation</h1>
@@ -27,7 +24,7 @@
         <li class="m about"><a href="../about.html" th:href="@{/about.html}" class="m">About</a></li>
       </ul>
     </nav>
-    <article class="main" layout:fragment="maincontent">
+    <article class="maincontent">
       <header><h1>Fast leere Seite ohne Menü</h1></header>
       <p>Ein ganz bischen Text...</p>
     </article>