From e29ee457d4aea23e1ecbd47a44429b5863fd6f67 Mon Sep 17 00:00:00 2001 From: Michael Osipov Date: Fri, 30 Jun 2023 22:45:27 +0200 Subject: [PATCH] Remove used counter --- src/main/resources/META-INF/maven/site-macros.vm | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/resources/META-INF/maven/site-macros.vm b/src/main/resources/META-INF/maven/site-macros.vm index 2df37747..89109e44 100644 --- a/src/main/resources/META-INF/maven/site-macros.vm +++ b/src/main/resources/META-INF/maven/site-macros.vm @@ -63,9 +63,7 @@ #end ## #macro ( topLinks $links ) -#**##set ( $counter = 0 ) #**##foreach( $item in $links ) -#* *##set ( $counter = $counter + 1 ) #* *##set ( $currentItemHref = $PathTool.calculateLink( $item.href, $relativePath ) ) #* *##set ( $currentItemHref = $currentItemHref.replaceAll( '\\', '/' ) )
  • #topLink( $currentItemHref $item.name $item.target )