layout-dialect ausgebaut: Thymeleaf 3.x erlaubt ähnliches mit Bordmitteln
[website] / dist / templates / example / layout.html
index a5cad60..80b5e75 100644 (file)
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html th:fragment="layout (title, content)" xmlns:th="http://www.thymeleaf.org">
+<html th:fragment="layout" xmlns:th="http://www.thymeleaf.org">
 <head>
     <title th:replace="${title}?:_">Layout Title</title>
 </head>