WIP: Weg finden, ...
[website] / dist / templates / example / layout.html
1 <!DOCTYPE html>
2 <html th:fragment="layout" xmlns:th="http://www.thymeleaf.org">
3 <head>
4     <title th:replace="${title}?:_">Layout Title</title>
5 </head>
6 <body>
7     <h1>Layout H1</h1>
8     <div th:replace="${content}?:_">
9         <p>Layout content</p>
10     </div>
11     <footer>
12         Layout footer
13     </footer>
14 </body>
15 </html>