You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@jakarta.apache.org by jo...@locus.apache.org on 2000/12/04 06:57:54 UTC
cvs commit: jakarta-site2/xdocs/stylesheets site.vsl
jon 00/12/03 21:57:54
Modified: xdocs/stylesheets site.vsl
Log:
added a bit of intelligence for remote images
Revision Changes Path
1.4 +4 -0 jakarta-site2/xdocs/stylesheets/site.vsl
Index: site.vsl
===================================================================
RCS file: /home/cvs/jakarta-site2/xdocs/stylesheets/site.vsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- site.vsl 2000/11/27 03:20:42 1.3
+++ site.vsl 2000/12/04 05:57:53 1.4
@@ -46,7 +46,11 @@
FOR USE LATER *#
#macro ( projectanchor $name $value )
+#if ($value.startsWith("http://"))
+ <a href="$value">$name</a>
+#else
<a href="$relativePath$value">$name</a>
+#end
#end
#macro ( metaauthor $author $email )