layout-dialect ausgebaut: Thymeleaf 3.x erlaubt ähnliches mit Bordmitteln
[website] / dist / potemkin / html-experimente / kein-layout.html
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml">
3   <head>
4     <title>HTML-Experimente - Kein Layout</title>
5     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" th:remove="all"/>
6   </head>
7   <body th:replace="~{templates/layout :: body(uri='/potemkin/html-experimente/kein-layout.html', json='MERGE:/potemkin.json')}">
8     <main class="maincontent">
9       <header><h1>Alle Stylings deaktiviert</h1></header>
10       <strong th:replace="templates/layout :: maincontent">MAIN-CONTENT</strong>
11     </main>
12     <aside class="marginalcontent" th:replace="templates/fragments :: marginalcontent">
13       MARGINAL-CONTENT
14     </aside>
15   </body>
16 </html>