You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2024/08/31 10:23:20 UTC
(maven-fluido-skin) 01/02: [MSKINS-251] Make image class optional
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch banner-fixes
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git
commit 5eeb8c11bd80b5cfd15b028bb4cc46893d5278cf
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sat Aug 31 11:58:20 2024 +0200
[MSKINS-251] Make image class optional
---
src/main/resources/META-INF/maven/site-macros.vm | 4 ++--
1 file changed, 2 insertions(+), 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 f3b69c3..9a40d0f 100644
--- a/src/main/resources/META-INF/maven/site-macros.vm
+++ b/src/main/resources/META-INF/maven/site-macros.vm
@@ -143,12 +143,12 @@
#* *##set( $style = "" )
#* *##end
#* *##set( $style = "$width$height$style" )
-<img class="$class"$src$alt#if( $style ) style="$style"#end />##
+<img#if( $class ) class="$class"#end$src$alt#if( $style ) style="$style"#end />##
#end
##
#macro( banner $banner $id )
#**##if( $banner )
-#* *#<div id="$id"><h1>#link( $banner false false false "set" )</h1></div>##
+#* *#<div id="$id"><h1>#link( $banner false false false "set" false )</h1></div>##
#**##end
#end
##