diff options
Diffstat (limited to 'spring-boot/07-thymeleaf-common-theme/src/main/resources/templates/index.html')
| -rw-r--r-- | spring-boot/07-thymeleaf-common-theme/src/main/resources/templates/index.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spring-boot/07-thymeleaf-common-theme/src/main/resources/templates/index.html b/spring-boot/07-thymeleaf-common-theme/src/main/resources/templates/index.html new file mode 100644 index 0000000..b2f59f2 --- /dev/null +++ b/spring-boot/07-thymeleaf-common-theme/src/main/resources/templates/index.html @@ -0,0 +1,11 @@ +<!DOCTYPE HTML> +<html xmlns:th="http://www.thymeleaf.org" th:replace="~{layout/main :: layout(title='Welcome', content=~{::main})}"> + +<body> + <main> + <p>Hello! This is the home page content.</p> + <p>Use the navigation links to explore other pages.</p> + </main> +</body> + +</html>
\ No newline at end of file |
