My Travle Map

기본 html page 구성

오선지♬ 2023. 10. 4. 21:58
728x90
반응형
<!DOCTYPE html>
<html lang="ko"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorate="~{common/layout/default_layout1}">
      
<th:block layout:fragment="pageStyle">
    <style>
    	/* 개별 css추가 */
    </style>
</th:block>      

<th:block layout:fragment="leftSlide">
 // 왼쪽 사이드바
</th:block>

<th:block layout:fragment="pageMain">
<!--Left Aside 이 없을땐 .nav-function-hidden-important 이 있어야함--> 

</th:block>

<th:block layout:fragment="pageScript">
	<!--개별 js file import -->
	<script type="text/javascript">
		// 개별 js code
    </script>
</th:block>

</html>

 

 

728x90
반응형

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

[HTML] <meta>  (0) 2023.10.09
intelliJ에서 GitHub 계정 연동 > 업로드  (0) 2023.10.05
thymeleaf 이용 공통 Layout 구조 구성  (0) 2023.10.03
jQuery 설정하기 - CDN  (0) 2023.10.02
favicon 설정하기  (0) 2023.09.30