layout-dialect ausgebaut: Thymeleaf 3.x erlaubt ähnliches mit Bordmitteln
[website] / dist / potemkin / html-experimente / formulare.html
index 437f2d4..3a9d2eb 100644 (file)
@@ -1,23 +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="uri='/potemkin/html-experimente/formulare.html'"
+    th:replace="~{templates/layout :: layout(uri='/potemkin/html-experimente/formulare.html', json='MERGE:/potemkin.json')}"
     >
   <head>
-    <title>HTML-Experimente - Formulare</title>
+    <title id="title">HTML-Experimente - Formulare</title>
     <!--/*-->
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-    <link rel="stylesheet/less" type="text/css" href="../../less/base.less"/>
-    <link rel="stylesheet/less" type="text/css" href="../../less/screen.less" media="screen"/>
-    <link rel="stylesheet/less" type="text/css" href="../../less/print.less" media="print"/>
-    <script src="../../js/less-1.7.0.min.js"></script>
+    <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>
-    <article class="main" layout:fragment="maincontent">
+    <article class="maincontent">
       <header><h1>Formulare</h1></header>
       <form class="form" action="#" method="get">
         <h2 class="f">Anzeigetext</h2>