Apply the Thymeleaf menu using non-deprecated extension points.