thymeleaf including fragements | thymeleaf page add | thymeleaf parts add

-: including fragments :- 

footer.html

<footer th:fragement="footer1">

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

</footer>

<footer th:fragement="footer2">

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

</footer>

<footer th:fragement="footer3">

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

</footer>


index.html

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

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

</footer>





Comments