X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fsite%2Ftemplate.vm;h=2588a099393f0e6722ca59a3179b95d0ac73f580;hb=93cb4275f384a2e341fc31bd4e674a8d6ae3043d;hp=972829aa50df4e58ff5483660808be2f726a7ad1;hpb=4245a308205e5572110f27dac138209dfd6ad9ec;p=simple-mapper diff --git a/src/site/template.vm b/src/site/template.vm index 972829a..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() ) @@ -118,11 +119,17 @@ >
@@ -136,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())
+