Made the thymeleaf-command that decorates the template configurable
[maven-thymeleaf-skin] / src / site / site.xml
index 4ac76eb..51950a0 100644 (file)
@@ -24,7 +24,8 @@
   <custom>
     <thymeproxy>
       <path>/maven-thymeleaf-skin/</path>
-      <crumbs>{"uri":"/projects.html","name":"Projects"},{"uri":"/maven-thymeleaf-skin/index.html","name":"Apache-Maven Thymeleaf-Skin"}</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>