X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fsite%2Ftemplate.vm;h=2588a099393f0e6722ca59a3179b95d0ac73f580;hb=93cb4275f384a2e341fc31bd4e674a8d6ae3043d;hp=0bcbd442595a813ad2d31b938a683b30d66e64ca;hpb=43e1e117336e1ca10f8bfec3e79a851161935222;p=simple-mapper diff --git a/src/site/template.vm b/src/site/template.vm index 0bcbd44..2588a09 100644 --- a/src/site/template.vm +++ b/src/site/template.vm @@ -101,6 +101,7 @@ #set ( $sitePath = "" ) #end #set ( $siteCrumbs = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'crumbs' ).getValue() ) +#set ( $parent = $decoration.custom.getChild( 'thymeproxy' ).getChild( 'parent' ).getValue() ) @@ -128,7 +129,7 @@
@@ -142,11 +143,54 @@ $bodyContent
title
: $siteTitlealt
: $siteAltimg
: $siteImg-
title
=$page.title
+ #end
+ #if($page.img)
+ img
=$page.img
+ #end
+ #if($page.alt)
+ alt
=$page.alt
+ #end
+ #if(!$page.childs.isEmpty())
+