f019b4628cb480e40ca4eb1906cc5a4dcc553804
[website] / src / main / webapp / thymeleaf / templates / layout.html
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"  xmlns:tiles="http://www.thymeleaf.org">
3   <head>
4     <!--/* Tiles attribute will be put here at runtime */-->
5     <title tiles:include="title">Title</title>
6   </head>
7   <body>
8     <!--/* Standard layout can be mixed with Tiles */-->
9     <div th:replace="templates/header :: fragment">HEADER</div>
10     <div class="container">
11       <!--/* Tiles attribute will be put here at runtime */-->
12       <h1 tiles:include="title">Title</h1>
13       <!--/* Tiles attribute will be put here at runtime */-->
14       <div tiles:replace="content">
15         <!-- ============================================================================ -->
16         <!-- This content is only used for static prototyping purposes (natural templates)-->
17         <!-- and is therefore entirely optional, as this markup fragment will be included -->
18         <!-- from "fragments/header.html" at runtime.                                     -->
19         <!-- ============================================================================ -->
20         <h1>Content</h1>
21         <p>
22           Lorem ipsum dolor sit amet, consectetur adipiscing elit.
23           Praesent scelerisque neque neque, ac elementum quam dignissim interdum.
24           Phasellus et placerat elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
25           Praesent scelerisque neque neque, ac elementum quam dignissim interdum.
26           Phasellus et placerat elit.
27         </p>
28       </div>
29     </div>
30     <!--/* Standard layout can be mixed with Tiles */-->
31     <div th:replace="templates/footer :: fragment">FOOTER</div>
32   </body>
33 </html>