Spring Boot Thymeleaf Starter を 1.5.10 から 2.0.1 にあげたらレイアウトがうまく動かなかったけど解決した
2.0 から Compile Dependencies の nz.net.ultraq.thymeleaf / thymeleaf-layout-dialect が無くなっている。
Maven Repository: org.springframework.boot » spring-boot-starter-thymeleaf » 1.5.13.RELEASE
Maven Repository: org.springframework.boot » spring-boot-starter-thymeleaf » 2.0.2.RELEASE
compile('nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect')
を builld.gradle に追加して解決
追記
Spring Boot 2.0 Migration Guide · spring-projects/spring-boot Wiki · GitHub
公式にもマイグレーションガイドで書いてあった。
Thymeleaf 3 からはネイティブな方法が用意されてるから無くなってるらしい。
使いたいなら自分で追加してくれ。
とのこと。