layout-dialect ausgebaut: Thymeleaf 3.x erlaubt ähnliches mit Bordmitteln
[website] / dist / templates / example / page.html
index b0f81f4..698c8b8 100644 (file)
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html th:replace="~{/templates/example/layout.html :: layout(~{::title}, ~{::section})}">
+<html th:replace="~{templates/example/layout :: layout(~{::title}, ~{::section})}">
 <head>
     <title>Page Title</title>
 </head>