Made the thymeleaf-command that decorates the template configurable
[maven-thymeleaf-skin] / src / site / site.xml
index 799111f..51950a0 100644 (file)
@@ -24,7 +24,8 @@
   <custom>
     <thymeproxy>
       <path>/maven-thymeleaf-skin/</path>
-      <crumbs><![CDATA[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;}]]></crumbs>
+      <crumbs>"/index.html","/projects.html"</crumbs>
+      <command>th:replace="~{/templates/layout.html :: layout(uri='' + ~{:: code[class='site_uri']/text()}, title=~{:: title}, maincontent=~{:: .maincontent}, json='MERGE:' + ~{:: pre[class='json']/text()})}"</command>
     </thymeproxy>
   </custom>
 </project>