META-INF.maven.site.vm Maven / Gradle / Ivy
The newest version!
#macro ( link $href $name )
$name
#end
#macro ( menuItem $item )
#set ( $currentItemHref = $PathTool.calculateLink( $item.href, $relativePath ) )
#set ( $currentItemHref = $currentItemHref.replaceAll( "\\", "/" ) )
#if ( $item && $item.items && $item.items.size() > 0 )
#foreach( $subitem in $item.items )
#menuItem( $subitem )
#end
#else
#link( $currentItemHref $item.name )
#end
#end
#macro ( menu $menus )
#if ( $menus.size() > 0 )
#end
#end
#menu ( $decoration.body.menus )
$bodyContent