From ea6f16e0208dfbc9a6641d33dc4f6ad86d6ca335 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 8 Jul 2016 11:47:36 +0200 Subject: [PATCH] =?utf8?q?eite=20erstellt:=20Velocity-Template=20-=20Seite?= =?utf8?q?=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 f80a95c..8e335cb 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