velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henn...@apache.org
Subject svn commit: r500870 - /velocity/engine/branches/Velocity_1.5_BRANCH/xdocs/stylesheets/site.vsl
Date Sun, 28 Jan 2007 20:08:58 GMT
Author: henning
Date: Sun Jan 28 12:08:57 2007
New Revision: 500870

URL: http://svn.apache.org/viewvc?view=rev&rev=500870
Log:
Update site transformer to include https:// links,
use the velocity project image and remove a number of
Jakartaisms.


Modified:
    velocity/engine/branches/Velocity_1.5_BRANCH/xdocs/stylesheets/site.vsl

Modified: velocity/engine/branches/Velocity_1.5_BRANCH/xdocs/stylesheets/site.vsl
URL: http://svn.apache.org/viewvc/velocity/engine/branches/Velocity_1.5_BRANCH/xdocs/stylesheets/site.vsl?view=diff&rev=500870&r1=500869&r2=500870
==============================================================================
--- velocity/engine/branches/Velocity_1.5_BRANCH/xdocs/stylesheets/site.vsl (original)
+++ velocity/engine/branches/Velocity_1.5_BRANCH/xdocs/stylesheets/site.vsl Sun Jan 28 12:08:57
2007
@@ -102,8 +102,8 @@
 #macro ( projectanchor $name $value )
 #if ($value.startsWith("http://"))
     <a href="$value">$name</a>
-#elseif ($value.startsWith("/site"))
-    <a href="http://jakarta.apache.org$value">$name</a>
+#elseif ($value.startsWith("https://"))
+    <a href="$value">$name</a>
 #else
     <a href="$relativePath$value">$name</a>
 #end
@@ -227,7 +227,7 @@
 #macro (getProjectImage)
 
 <div id="logo1">
-	<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif"
border="0"/></a>
+	<a href="http://velocity.apache.org"><img src="${relativePath}/images/velocity_project_wide.png"
border="0"/></a>
 </div>
 
 
@@ -269,7 +269,7 @@
            #set ($metas = $root.getChildren("meta"))
 
             ##    Parse meta directives such as
-            ##    <meta name="keyword" content="jakarta, java"/>
+            ##    <meta name="keyword" content="apache, velocity, java"/>
             #foreach ($meta in $metas) #printMeta($meta) #end
 
             ##    Support for <base> tags.
@@ -280,10 +280,6 @@
 
             <title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title>
 
-			## use an absolute CSS for when the URL is rewritten on the site
-			## from /velocity/anakia.html to /velocity/docs/anakia.html
-			<link rel="stylesheet" href="http://jakarta.apache.org/velocity/site.css" type="text/css">
-
 			## use a relative CSS for when the page is displayed locally (will overwrite
 			## previous CSS settings)
 			<link rel="stylesheet" href="${relativePath}/site.css" type="text/css">
@@ -311,7 +307,7 @@
 				</div>
 
 				<div id="footer">
-					Copyright &#169; 1999-2006, The Apache Software Foundation
+					Copyright &#169; 1999-2007, <a href="http://www.apache.org/">The Apache Software
Foundation</a>.
 				</div>
 
 			</div>



Mime
View raw message