add thymeleaf layout support