You can use layout:Developer and layout:Ragment by what I understand you want the contents of the screens to be changed but without changing what is around as example the menus.
on your "Main.html" screen you should put a layout:Ragment as in the example:
<div layout:fragment="conteudo">
<p>Conteúdo principal</p>
</div>
In this location will be injected the content that you put in other pages. In the other pages you will use a developer, in this case I called "Main" and implement the "Content" of the layout:Ragment, example:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorator="Principal">
<head>
</head>
<div layout:fragment="conteudo">
Pagina 1
</div>
</html>
You can look at the full documentation on http://www.thymeleaf.org/doc/articles/layouts.html
I think this tutorial can help: http://nixmash.com/java/javascript-thymeleaf-and-spring-mvc/
– hlucasfranca
I looked man, but I guess that’s not it yet
– Lucas Barros Santos