From a262df930a08a2829ebe652c27c34352ab01e156 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 8 Jul 2016 10:18:09 +0200 Subject: [PATCH] =?utf8?q?Projekt-Seite=20erstellt:=20Velocity-Template=20?= =?utf8?q?-=20Startseite=20in=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 b441f02..27ecbdf 100644 --- a/src/site/template.vm +++ b/src/site/template.vm @@ -57,6 +57,10 @@ ## Seiten einlesen +#set ( $page = $project.getClass().forName('java.util.LinkedHashMap').newInstance() ) +#set ( $sinkhole = $page.put("uri", $alignedFileName) ) +#set ( $sinkhole = $page.put("name", "About") ) +#set ( $sinkhole = $stack.push($page) ) #foreach ( $menu in $decoration.body.menus ) ## Nur benannte Menüs werden berücksichtigt #if ($menu.name) -- 2.20.1