Inhalte an die geänderten View-Namen für Thymeleaf-Templates angepasst
[website] / dist / projects / html-experimente / fast-leer-mit-menü-und-marginalinhalt.html
index b054f0b..f99d6fc 100644 (file)
@@ -3,7 +3,7 @@
     xmlns="http://www.w3.org/1999/xhtml"
     xmlns:layout="http://www.thymeleaf.org"
     xmlns:th="http://www.thymeleaf.org"
-    layout:decorator="templates/layout"
+    layout:decorator="/templates/layout.html"
     th:with=", uri='/projects/html-experimente/fast-leer-mit-menü-und-marginalinhalt.html'"
     >
   <head>
@@ -21,7 +21,7 @@
       <header><h1>Fast leere Seite mit Menü und Marginalinhalt</h1></header>
       <p>Ein ganz bischen Text...</p>
     </article>
-    <aside layout:fragment="marginalcontent" th:replace="templates/fragments :: marginalcontent">
+    <aside layout:fragment="marginalcontent" th:replace="/templates/fragments.html :: marginalcontent">
       MARGINAL-CONTENT
     </aside>
   </body>