Das Fragment "layout" fordert nur noch nicht-optionale Parameter
authorKai Moritz <kai@juplo.de>
Sat, 11 May 2019 10:12:16 +0000 (12:12 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 11 May 2019 10:12:16 +0000 (12:12 +0200)
Ansonsten ist es z.B. nicht möglich, das Fragment ohne "marginalcontent"
aufzurufen...

dist/templates/layout.html

index cd050be..b95cf48 100644 (file)
@@ -2,7 +2,7 @@
 <html
     xmlns="http://www.w3.org/1999/xhtml"
     xmlns:th="http://www.thymeleaf.org"
 <html
     xmlns="http://www.w3.org/1999/xhtml"
     xmlns:th="http://www.thymeleaf.org"
-    th:fragment="layout(uri,maincontent,marginalcontent)"
+    th:fragment="layout(uri,maincontent)"
     thymeproxy:variables="SET:sitemap.json"
     >
   <head>
     thymeproxy:variables="SET:sitemap.json"
     >
   <head>