From fa880db84ec4507010a4d29b7cb0308f82553834 Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sat, 13 Jun 2026 17:27:05 +0530 Subject: Added sample project 07-thymeleaf-common-theme --- spring-boot/07-thymeleaf-common-theme/README | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 spring-boot/07-thymeleaf-common-theme/README (limited to 'spring-boot/07-thymeleaf-common-theme/README') diff --git a/spring-boot/07-thymeleaf-common-theme/README b/spring-boot/07-thymeleaf-common-theme/README new file mode 100644 index 0000000..a84a5eb --- /dev/null +++ b/spring-boot/07-thymeleaf-common-theme/README @@ -0,0 +1,11 @@ +This sample project shows how to develop a web application that uses a common page layout. + +This project does not use the Thymeleaf Layout Dialect but follows the strategy mentioned in the article found at the given URL: + + https://www.wimdeblauwe.com/blog/2026/02/25/migrating-away-from-thymeleaf-layout-dialect/ + +A minor modification has been done to the approach mentioned in that article with respect to setting the title of the page. + +To run with support for hot swap during development, use the dev profile as follows: + + mvn spring-boot:run -Dspring-boot.run.profiles=dev -- cgit v1.2.3