a6468920
sangkiham
Spring Boot Board...
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<!-- config fragment 사용 -->
<th:block th:replace="fragment/config :: configFragment" ></th:block>
</head>
<body>
<!-- header fragment 사용 -->
<th:block th:replace="fragment/header :: headerFragment"></th:block>
<!--
content fragment 사용
현재 layout을 사용하는 content fragment의 내용을 삽입한다.
-->
<div style="height: calc(100% - 8em);">
<th:block layout:fragment="content"></th:block>
</div>
<!-- footer fragment 사용 -->
<th:block th:replace="fragment/footer :: footerFragment"> </th:block>
</body>
</html>
|