<custom>
<thymeproxy>
<path>/simple-mapper/</path>
+ <parent>&quot;/projects.html&quot;:{&quot;name&quot;:&quot;Projects&quot;,&quot;childs&quot;:{&quot;/simple-mapper/index.html&quot;:&quot;Simple Mapper 4 JSON&quot;},&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;}]},</parent>
<crumbs>{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;}</crumbs>
</thymeproxy>
</custom>
#set ( $sitePath = "" )
#end
#set ( $siteCrumbs = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'crumbs' ).getValue() )
+#set ( $parent = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'parent' ).getValue() )
<!-- title: $title -->
<!-- short title: $shortTitle -->
<link rel="canonical" href="$sitePath$alignedFileName"/>
</head>
<body
- thymeproxy:variables="merge:{"pages":{#set($sep = "")#foreach($page in $pages)$sep"$sitePath$page.uri":{"name":"$page.name",#if(!$page.childs.isEmpty())"childs":{#set($csep = "")#foreach($child in $page.childs.entrySet())$csep"$sitePath$child.key":"$child.value"#set($csep = ",")#end},#end"crumbs":[#set($csep = "")#if($siteCrumbs)$siteCrumbs#set($csep = ",")#end#foreach($crumb in $page.crumbs)$csep{"uri":"$sitePath$crumb.uri","name":"$crumb.name"}#set($csep = ",")#end]#if($page.title),"title":"$page.title"#end#if($page.alt),"alt":"$page.alt"#end#if($page.img),"img":"$page.img"#end}#set($sep = ",")#end}#if($siteTitle),"site_title":"$siteTitle"#end#if($siteAlt),"site_alt":"$siteAlt"#end#if($siteImg),"site_img":"$siteImg"#end}"
+ thymeproxy:variables="merge:{"pages":{#if($parent)$parent#end#set($sep = "")#foreach($page in $pages)$sep"$sitePath$page.uri":{"name":"$page.name",#if(!$page.childs.isEmpty())"childs":{#set($csep = "")#foreach($child in $page.childs.entrySet())$csep"$sitePath$child.key":"$child.value"#set($csep = ",")#end},#end"crumbs":[#set($csep = "")#if($siteCrumbs)$siteCrumbs#set($csep = ",")#end#foreach($crumb in $page.crumbs)$csep{"uri":"$sitePath$crumb.uri","name":"$crumb.name"}#set($csep = ",")#end]#if($page.title),"title":"$page.title"#end#if($page.alt),"alt":"$page.alt"#end#if($page.img),"img":"$page.img"#end}#set($sep = ",")#end}#if($siteTitle),"site_title":"$siteTitle"#end#if($siteAlt),"site_alt":"$siteAlt"#end#if($siteImg),"site_img":"$siteImg"#end}"
>
<h2>Path</h2>
<p>
<hr />
<h2>Common</h2>
<ul>
+ <li><strong>Parent</strong>: $parent</li>
<li><strong>Title</strong>: $title</li>
<li><strong>Short Title</strong>: $shortTitle</li>
<li><strong>Current</strong>: $alignedFileName</li>