Apply Thymeleaf.