All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 )
    #foreach( $menu in $menus ) #if ( $menu.name == $currentFileName ) #if ( $menu.items && $menu.items.size() > 0 )
      #foreach( $item in $menu.items ) #menuItem( $item ) #end
    #end #end #end
    #end #end #menu ( $decoration.body.menus ) $bodyContent




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy