From: Kai Moritz Date: Fri, 8 Jul 2016 09:47:36 +0000 (+0200) Subject: Added the project-site itself to the breadcrumb-path X-Git-Tag: maven-thymeleaf-skin-1.0.0~15 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=325a6ccddc224e539cd4968cf76b111aef93a16f;p=maven-thymeleaf-skin Added the project-site itself to the breadcrumb-path --- diff --git a/src/main/resources/META-INF/maven/site.vm b/src/main/resources/META-INF/maven/site.vm index 7afc958..fa2d040 100644 --- a/src/main/resources/META-INF/maven/site.vm +++ b/src/main/resources/META-INF/maven/site.vm @@ -37,6 +37,10 @@ #if ( $page.uri != "" ) #set ( $crumbs = $project.getClass().forName('java.util.LinkedList').newInstance() ) + #set ( $crumb = $project.getClass().forName('java.util.LinkedHashMap').newInstance() ) + #set ( $sinkhole = $crumb.put("uri", $page.uri) ) + #set ( $sinkhole = $crumb.put("name", $page.name) ) + #set ( $sinkhole = $crumbs.push($crumb) ) #foreach ( $entry in $stack ) #if ( $entry.uri != "" ) #set ( $crumb = $project.getClass().forName('java.util.LinkedHashMap').newInstance() )