including thymeleaf template | include | insert | replace


 

footer.html

<footer th:fragement="footer1">

..........................................

</footer>

index.html

<footer  the:replace="footer::footer1"> 

..............................................................

</footer>

Comments