Blame view

src/main/resources/templates/layout/default_layout.html 970 Bytes
a6468920   sangkiham   Spring Boot Board...
1
  <!DOCTYPE html>

cb01f7b1   sangkiham   .
2
  <html xmlns:th="http://www.thymeleaf.org"

a6468920   sangkiham   Spring Boot Board...
3
4
5
6
        xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">

  

      <head>

          <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

d434ebaa   sangkiham   회원가입화면추가
7
          <title>&gt;**&lt;</title>

a6468920   sangkiham   Spring Boot Board...
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
          

          <!-- 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>