This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MSKINS-202
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git

commit be493de1ce580f4c841f51a3ba013546d56cbde3
Author: Michael Osipov <[email protected]>
AuthorDate: Sun Jan 1 20:38:44 2023 +0100

    [MSKINS-202] Support Maven report standalone mode
    
    This closes #43
---
 src/main/resources/META-INF/maven/site.vm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/META-INF/maven/site.vm 
b/src/main/resources/META-INF/maven/site.vm
index fc6aebb..9f46dc8 100644
--- a/src/main/resources/META-INF/maven/site.vm
+++ b/src/main/resources/META-INF/maven/site.vm
@@ -58,7 +58,7 @@
 #**##flattrHead()
 #**##forkMeOnGitHubHead()
   </head>
-#**##set ( $topBarEnabled = $convert.toBoolean( $decoration.getCustomValue( 
'fluidoSkin.topBarEnabled', 'false' ) ) )
+#**##set ( $topBarEnabled = $convert.toBoolean( $decoration.getCustomValue( 
'fluidoSkin.topBarEnabled', 'false' ) ) && ! $standalone )
 #**##if ( $topBarEnabled )
   <body class="topBarEnabled">
 #**##else
@@ -67,7 +67,7 @@
 #**##forkMeOnGitHub()
 #**##facebookLoadSDK()
 ##
-#**##set ( $sideBarEnabled = $convert.toBoolean( $decoration.getCustomValue( 
'fluidoSkin.sideBarEnabled', 'true' ) ) )
+#**##set ( $sideBarEnabled = $convert.toBoolean( $decoration.getCustomValue( 
'fluidoSkin.sideBarEnabled', 'true' ) ) && ! $standalone )
 #**##set ( $searchEnabled = $decoration.getCustomChild( 
'fluidoSkin.googleSearch' )
              && ( $decoration.getCustomValue( 
'fluidoSkin.googleSearch.sitesearch' ) || $project.url ) )
 ##

Reply via email to