You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by ni...@apache.org on 2005/08/26 14:10:17 UTC

cvs commit: logging-log4net/xdocs/src/stylesheets site.vsl

nicko       2005/08/26 05:10:17

  Modified:    xdocs/src/stylesheets site.vsl
  Log:
  Updated doc vsl to allow injection into the <head> element and arbitrary attributes on the <body> element
  
  Revision  Changes    Path
  1.4       +12 -1     logging-log4net/xdocs/src/stylesheets/site.vsl
  
  Index: site.vsl
  ===================================================================
  RCS file: /home/cvs/logging-log4net/xdocs/src/stylesheets/site.vsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- site.vsl	20 Jan 2005 13:47:51 -0000	1.3
  +++ site.vsl	26 Aug 2005 12:10:17 -0000	1.4
  @@ -286,9 +286,20 @@
   			#end
   
               <title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title>
  +            
  +            #if ($root.getChild("head"))
  +				$root.getChild("head").getContent()
  +			#end
           </head>
   
  -        <body bgcolor="$bodybg" text="$bodyfg" link="$bodylink">        
  +        <body 
  +            bgcolor="$bodybg"
  +            text="$bodyfg"
  +            link="$bodylink"
  +        #foreach ( $a in $root.getChild("body").getAttributes() )
  +			$a.getName()="$a.getValue()"
  +		#end
  +        >       
              <!-- START Header table --> 
   ##           <table border="0" cellspacing="0" width="100%">
   ##                <!-- TOP IMAGE -->