Updated signature of fragement-replacment
authorKai Moritz <kai@juplo.de>
Sun, 22 Nov 2020 20:18:29 +0000 (21:18 +0100)
committerKai Moritz <kai@juplo.de>
Sun, 10 Jan 2021 20:06:11 +0000 (21:06 +0100)
src/main/resources/META-INF/maven/site.vm

index 50bd7ca..b9d030b 100644 (file)
     xmlns="http://www.w3.org/1999/xhtml"
     th:replace="~{/templates/layout.html :: layout(
       uri='$sitePath$alignedFileName',
+      title=~{:: title},
+      maincontent=~{:: .maincontent},
       json='MERGE:
       {
-        &quot;_names&quot;: {
+        &quot;_titles&quot;: {
           #set($sep = "")
           #foreach($page in $pages)
             $sep