I'm including a footer as follows in my home:
<div th:replace="footer :: footer"></div>
And within the footer I need to include some overlays:
<div th:include="overlay-terminos-condiciones"></div>
<div th:include="overlay-protecion-datos"></div>
But I try to call in the same way as the footer and does not work as expected, what is the correct way to call an include within the other? They are all in the same folder, both the footer.html and the .html of the overlays.