Created
April 9, 2021 19:03
-
-
Save CleysonPH/7e394b08bddf9505fa891338501e64de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="pt-br"> | |
<head> | |
<title>Thymeleaf - Fragments</title> | |
</head> | |
<body> | |
<!-- Com th:insert --> | |
<div th:insert="~{cabecalho :: cabecalho}"></div> | |
<!-- Com th:replace --> | |
<div th:replace="~{cabecalho :: cabecalho}"></div> | |
<!-- Com th:include --> | |
<div th:include="~{cabecalho :: cabecalho}"></div> | |
<p>Conteúdo do Template home</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment