Added the project-site itself to the breadcrumb-path
authorKai Moritz <kai@juplo.de>
Fri, 8 Jul 2016 09:47:36 +0000 (11:47 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 16 Jul 2016 11:55:24 +0000 (13:55 +0200)
src/main/resources/META-INF/maven/site.vm

index 7afc958..fa2d040 100644 (file)
   #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() )