You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2011/02/27 01:03:47 UTC
svn commit: r1074964 -
/commons/proper/commons-skin/trunk/src/main/resources/META-INF/maven/site.vm
Author: sebb
Date: Sun Feb 27 00:03:46 2011
New Revision: 1074964
URL: http://svn.apache.org/viewvc?rev=1074964&view=rev
Log:
Allow dynamic substitution of project name in template
Modified:
commons/proper/commons-skin/trunk/src/main/resources/META-INF/maven/site.vm
Modified: commons/proper/commons-skin/trunk/src/main/resources/META-INF/maven/site.vm
URL: http://svn.apache.org/viewvc/commons/proper/commons-skin/trunk/src/main/resources/META-INF/maven/site.vm?rev=1074964&r1=1074963&r2=1074964&view=diff
==============================================================================
--- commons/proper/commons-skin/trunk/src/main/resources/META-INF/maven/site.vm (original)
+++ commons/proper/commons-skin/trunk/src/main/resources/META-INF/maven/site.vm Sun Feb 27 00:03:46 2011
@@ -544,7 +544,8 @@
## See DOXIA-150
#set ( $documentHeader = '<?xml version="1.0" encoding="UTF-8"?>' )
#foreach( $item in $decoration.custom.getChild("footer").getChildren() )
- $StringUtils.replace( $item.toString().trim(), $documentHeader, "" )
+ #set ( $foot = $StringUtils.replace( $item.toString().trim(), $documentHeader, "" ) )
+ $StringUtils.replace( $foot, '@project.name@', ${project.name} )
#end
#end
<div class="xright">Copyright ©#copyright()All Rights Reserved.#publishDate( "bottom" $decoration.publishDate $decoration.version )</div>