From 325a6ccddc224e539cd4968cf76b111aef93a16f Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 8 Jul 2016 11:47:36 +0200 Subject: [PATCH] Added the project-site itself to the breadcrumb-path --- src/main/resources/META-INF/maven/site.vm | 4 ++++ 1 file changed, 4 insertions(+) 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() ) -- 2.20.1