Skip to content

Commit

Permalink
Use <h1/> and rely on Doxia Sitetools to provide a left banner by def…
Browse files Browse the repository at this point in the history
…ault
  • Loading branch information
michael-o committed May 7, 2022
1 parent 15a1095 commit ec3ea2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/maven/site-macros.vm
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down
15 changes: 1 addition & 14 deletions src/main/resources/META-INF/maven/site.vm
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit ec3ea2e

Please sign in to comment.