Files
spring-boot/spring-boot-samples/spring-boot-sample-web-groovy-templates

This sample application uses Spring Boot and Groovy templates in the View layer. The templates for this app live in classpath:/templates/, which is the conventional location for Spring Boot. External configuration is available via "spring.groovy.template.*".

The templates all use a fixed "layout" implemented anticipating changes in Groovy 2.3.1 using a custom BaseTemplate class (LayoutAwareTemplate).