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