-: 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
Post a Comment