layout-dialect ausgebaut: Thymeleaf 3.x erlaubt ähnliches mit Bordmitteln
[website] / dist / potemkin / html-experimente / error.html
index c4af1a3..faba7f6 100644 (file)
@@ -1,16 +1,18 @@
 <!DOCTYPE html>
 <html
     xmlns="http://www.w3.org/1999/xhtml"
+    th:replace="~{templates/layout :: layout(uri='unknown', json='MERGE:/potemkin.json')}"
     xmlns:layout="http://www.thymeleaf.org"
     layout:decorator="templates/layout"
     >
   <head>
-    <title>This Page Will Raise An Error</title>
+    <title id="title">This Page Will Raise An Error</title>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" th:remove="all"/>
     <link rel="stylesheet" type="text/css" href="../css/base.css"/>
     <link rel="stylesheet" type="text/css" href="../css/screen.css" media="screen"/>
     <link rel="stylesheet" type="text/css" href="../css/print.css" media="print"/>
   </head>
-  <body thymeproxy:variables="MERGE:potemkin.json">
+  <body>
+    <p>This page will raise an error, because the <strong><code>uri</code></strong> is set to an unknown value...</p>
   </body>
 </html>