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 2022/05/07 20:47:02 UTC

[maven-fluido-skin] branch clean-up-banner-handling created (now ec3ea2e)

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

michaelo pushed a change to branch clean-up-banner-handling
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git


      at ec3ea2e  Use <h1/> and rely on Doxia Sitetools to provide a left banner by default

This branch includes the following new commits:

     new ec3ea2e  Use <h1/> and rely on Doxia Sitetools to provide a left banner by default

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-fluido-skin] 01/01: Use

and rely on Doxia Sitetools to provide a left banner by default

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch clean-up-banner-handling
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git

commit ec3ea2ee1bed07ca4f485b0fb8a09af9023f6061
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sat May 7 22:46:53 2022 +0200

    Use <h1/> and rely on Doxia Sitetools to provide a left banner by default
---
 src/main/resources/META-INF/maven/site-macros.vm |  2 +-
 src/main/resources/META-INF/maven/site.vm        | 15 +--------------
 2 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/src/main/resources/META-INF/maven/site-macros.vm b/src/main/resources/META-INF/maven/site-macros.vm
index eb371c2..dea3975 100644
--- a/src/main/resources/META-INF/maven/site-macros.vm
+++ b/src/main/resources/META-INF/maven/site-macros.vm
@@ -179,7 +179,7 @@
 #*    *##end
 #*    *#<img src="$src" $alt$bannerTitle style="$imgBorder$imgWidth$imgHeight" />##
 #*  *##else
-#*    *#<h2>$banner.name</h2>
+#*    *#<h1>$banner.name</h1>
 #*  *##end
 ##
 #*  *##if( $banner.href )
diff --git a/src/main/resources/META-INF/maven/site.vm b/src/main/resources/META-INF/maven/site.vm
index 5a0516d..53d4e23 100644
--- a/src/main/resources/META-INF/maven/site.vm
+++ b/src/main/resources/META-INF/maven/site.vm
@@ -184,20 +184,7 @@
 #**##end
       <header>
         <div id="banner">
-          <div class="pull-left">##
-#*        *##if( $decoration.bannerLeft )
-#*          *##banner( $decoration.bannerLeft "bannerLeft" )
-#*        *##else
-#*        *### MSKINS-32
-            <h1>##
-#*          *##if( $project.name && $project.name != '' )
-#*            *#$project.name
-#*          *##else
-#*            *#$project.artifactId
-#*          *##end
-#*        *#</h1>##
-#*        *##end
-#*      *#</div>
+          <div class="pull-left">#banner( $decoration.bannerLeft "bannerLeft" )</div>
           <div class="pull-right">#banner( $decoration.bannerRight "bannerRight" )</div>
           <div class="clear"><hr/></div>
         </div>