From 8d60439988f581df3e2265210518f758a8d965bc Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 8 Jul 2016 11:47:36 +0200 Subject: [PATCH] =?utf8?q?Projekt-Seite=20erstellt:=20Velocity-Template=20?= =?utf8?q?-=20Seite=20selbst=20im=20Pfad=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/site/template.vm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/site/template.vm b/src/site/template.vm index 7afc958..fa2d040 100644 --- a/src/site/template.vm +++ b/src/site/template.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