Add the powered by logo
PR: MAVEN-364 git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113252 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -23,6 +23,8 @@ maven.xdoc.date.locale = en
|
||||
|
||||
# The logo to show on the generated site. No default at present (competition isn't closed)
|
||||
maven.xdoc.poweredby.image=
|
||||
maven.xdoc.poweredby.title=Built by Maven
|
||||
maven.xdoc.poweredby.url=http://maven.apache.org/
|
||||
|
||||
|
||||
#
|
||||
|
||||
@@ -286,6 +286,15 @@
|
||||
</div>
|
||||
</j:if>
|
||||
|
||||
<j:set var="poweredbyimage">${maven.xdoc.poweredby.image}</j:set>
|
||||
<j:set var="poweredbytitle">${maven.xdoc.poweredby.title}</j:set>
|
||||
<j:set var="poweredbyurl">${maven.xdoc.poweredby.url}</j:set>
|
||||
<j:if test="${!empty(poweredbyimage)}">
|
||||
<div style="margin-top: 20px; width: 100%; text-align: center;">
|
||||
<a href="${poweredbyurl}" title="${poweredbytitle}"><img style="border: 1px solid black" src="${relativePath}/images/logos/${poweredbyimage}"/></a>
|
||||
</div>
|
||||
</j:if>
|
||||
|
||||
<j:if test="${date == 'navigation-bottom'}">
|
||||
<div>
|
||||
<small>Last published: ${build.date}</small>
|
||||
@@ -293,7 +302,7 @@
|
||||
</j:if>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<td rowspan="2">
|
||||
<div id="bodycol">
|
||||
<!-- Insert MAIN body here -->
|
||||
<div class="app">
|
||||
|
||||
@@ -433,6 +433,30 @@
|
||||
http://maven.apache.org/development-process.html</a>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.xdoc.poweredby.image</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Sets the name of the image to use (see images/logos).
|
||||
No default as the competition is not complete.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.xdoc.poweredby.title</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Sets the title of the link for the powered
|
||||
by logo. Defaults to "Built by Maven"
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.xdoc.poweredby.url</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Sets the target of the link for the powered
|
||||
by logo. Defaults to "http://maven.apache.org/"
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</section>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user