My Travle Map

thymeleaf 이용 공통 Layout 구조 구성

오선지♬ 2023. 10. 3. 13:25
728x90
반응형
<!DOCTYPE html>
<html lang="ko"  
	xmlns:th="http://www.thymeleaf.org" 
	xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head>
	<meta charset="utf-8">
	<title>Insert title here</title>
	<!-- + base css -->
	<th:block layout:fragment="pageStyle"></th:block> 
</head>
<body>
	<th:block layout:fragment="leftSlide"></th:block>
    
	<header>
	</header>
	
	<!-- BEGIN Page Content -->
	<th:block layout:fragment="pageMain"></th:block>
    <!-- END Page Content -->
	
	<footer>
	</footer>
	
	
	<!-- + base script -->
	<th:block layout:fragment="pageScript"></th:block>
</body>
</html>
728x90
반응형

'My Travle Map' 카테고리의 다른 글

intelliJ에서 GitHub 계정 연동 > 업로드  (0) 2023.10.05
기본 html page 구성  (0) 2023.10.04
jQuery 설정하기 - CDN  (0) 2023.10.02
favicon 설정하기  (0) 2023.09.30
html 파일에 html파일 import  (0) 2023.09.24