Press "Enter" to skip to content

Spring Boot Thymeleaf Fragments and conditional Fragments

This time we create a navigation bar in the top of the templates.
We make it reusable through placing the html in fragments!
We also add a conditional fragment in the bottom.
Enjoy! 🙂
Feel free to leave a comment or question as usual. I really enjoy reading what you think of programming in general. 🙂
Link to the code:
Follow me on twitter:

Support me on Patreon:

Leave a Reply

Notify of